View previous topic :: View next topic |
Author |
Message |
POLSKICASHCOW Beginner
Joined: 24 Jan 2004 Posts: 6 Topics: 4
|
Posted: Fri Mar 19, 2004 3:11 pm Post subject: STATE Command |
|
|
WHat is the equivalent STATE REXX command using a conventional CLIST? Much appreciated. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Mar 19, 2004 3:15 pm Post subject: |
|
|
What do you mean?
STATE is neither a TSO command or a REXX keyword or function. |
|
Back to top |
|
|
POLSKICASHCOW Beginner
Joined: 24 Jan 2004 Posts: 6 Topics: 4
|
Posted: Fri Mar 19, 2004 3:24 pm Post subject: |
|
|
superk wrote: | What do you mean?
STATE is neither a TSO command or a REXX keyword or function. | In VM/CMS the STATE command is used to verify if a SAS Database segment exists on an individuals 'A' drive. Example:
STATE NOV03 REMUN A;
Where REMUN is the SAS FILETYPE and NOV03 is the segment and 'A' is the drive.
Hope this helps. |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Fri Mar 19, 2004 4:27 pm Post subject: |
|
|
Superk is right. STATE is a VM/CMS command (actually, CP, if I remember correctly), not a TSO command, and it's not restricted to checking for SAS segments.
In TSO, with CLIST or REXX , you'd use the SYSDSN function to check the existence of a dataset. _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
|
|
|