View previous topic :: View next topic
|
Author |
Message |
Ashwin_mudikon
New User
Joined: 03 Apr 2007 Posts: 32 Location: Chennai
|
|
|
|
hi,
My requirement is to execute a rexx program from the command prompt using the command
In that program i want to get the screen id. if the screen is ISRUDSM (member list) then i must get that pds name.
How can i do that?
Thanks,
Ashwin |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The current panel name is in the ZPANELID variable. |
|
Back to top |
|
|
Ashwin_mudikon
New User
Joined: 03 Apr 2007 Posts: 32 Location: Chennai
|
|
|
|
thanks... |
|
Back to top |
|
|
Ashwin_mudikon
New User
Joined: 03 Apr 2007 Posts: 32 Location: Chennai
|
|
|
|
Quote: |
In that program i want to get the screen id. if the screen is ISRUDSM (member list) then i must get that pds name. |
For my second problem (getting the current PDS name), I saw that whenever i open a pds, a new DD has been allocated. i can check that using ddlist command.
Code: |
Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q
LPRJ15 NEW,CATLG > ISP09065 U142107.SPFLOG1.LIST
LPRJ15 SHR,KEEP > ISP09098 U142107.REXX.FM
LPRJ15 SHR,KEEP > ISP09099 U142107.REXX.FM |
the dataset u142107.rexx.fm is my currently opened dataset.
I want to get that Dataset name from a rexx program. I tried using the ddlist command and trapping the output. but ddlist is not working.
is there anyother way?
Thanks,
Ashwin |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
|