Page 1 of 1

Rexx and Sysvariables

PostPosted: Mon Jan 05, 2009 6:52 pm
by Ramkumarsony
Hi everyone,

/*Rexx*/
lib='your.pds'
var=listdsi("'"lib"'" 'directory' )
say lib 'has' sysmembers
exit.


In the above piece of code, sysmembers will give the total no of members. Like this are there any other sysvariables which would give any information about the PDS?
I am not only looking for PDS details. please anyone let me know the (most of the) :D Sysvariables which give informations in REXX.

Thanks in advance,
Ramkumar.

Re: Rexx

PostPosted: Mon Jan 05, 2009 7:14 pm
by MrSpock
It's probably easier if you go through the list yourself:

4.4.2 LISTDSI.

Re: Rexx

PostPosted: Mon Jan 05, 2009 7:21 pm
by Ramkumarsony
Thank you very much MrSpock. its very useful. Thanks alot :)

Re: Rexx and Sysvariables

PostPosted: Wed Jan 07, 2009 5:38 pm
by parthiban
Hi..Here are some variables....sysvar

SYSPREF - Prefix as defined in user profile
SYSPROC - Logon procedure of current session
SYSUID - User id of current session
Terminal information
SYSLTERM - No of lines available on screen
SYSWTERM - Width of screen
Exec information
SYSENV - Whether exec is running in fore or background
SYSISPF - whether ISPF is active or not
System information
SYSRACF - Whether RACF is available
SYSNODE - Network node name
SYSTSOE - Level to TSO/E installed