View previous topic :: View next topic |
Author |
Message |
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Jan 14, 2003 6:01 am Post subject: Capturing CURSOR position from DSLIST panel |
|
|
I want to get the position of the CURSOR from 3.4 (DSLIST) panel. (ie) suppose I Enter a rexx program name in the Line command of the DSLIST panel, It should pass the Dataset Name corresponding to the row as an argument to my rexx routine.
Command - Enter "/" to select action
------------------------------------------------
CPY TSONJAY.REXX
TSONJAY.REXX.ADD
HERE CPY is my rexx routine which will take as argument a PDS name and copy all the members of the PDS to a new PDS.
Please advise.
Thanks & Regards,
Navin. J |
|
Back to top |
|
|
DaveyC Moderator
Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Tue Jan 14, 2003 6:52 am Post subject: |
|
|
It will pass the data set name by default
Code: |
/* REXX */
arg dsn
say dsn
|
Run as a line command from DSLIST, it will display the data set name. _________________ Dave Crayford |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Jan 14, 2003 7:08 am Post subject: |
|
|
Thanks Dave. Its great.
Regards,
Navin. J |
|
Back to top |
|
|
|
|