#1: Capturing CURSOR position from DSLIST panel Author: Phantom, Location: The Blue PlanetPosted: Tue Jan 14, 2003 6:01 am 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
#2: Author: DaveyC, Location: Perth, Western AustraliaPosted: Tue Jan 14, 2003 6:52 am 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.
#3: Author: Phantom, Location: The Blue PlanetPosted: Tue Jan 14, 2003 7:08 am Thanks Dave. Its great.