Rexx and Sysvariables



IBM's Command List programming language & Restructured Extended Executor

Rexx and Sysvariables

Postby Ramkumarsony » Mon Jan 05, 2009 6:52 pm

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.
Ramkumarsony
 
Posts: 11
Joined: Wed Jun 25, 2008 10:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Rexx

Postby MrSpock » Mon Jan 05, 2009 7:14 pm

It's probably easier if you go through the list yourself:

4.4.2 LISTDSI.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Rexx

Postby Ramkumarsony » Mon Jan 05, 2009 7:21 pm

Thank you very much MrSpock. its very useful. Thanks alot :)
Ramkumarsony
 
Posts: 11
Joined: Wed Jun 25, 2008 10:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Rexx and Sysvariables

Postby parthiban » Wed Jan 07, 2009 5:38 pm

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
Parthiban jayaraman
mainframe rexxer,
Banglore
parthiban
 
Posts: 66
Joined: Mon Oct 20, 2008 7:54 pm
Location: Bangalore-India
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post