Capturing CURSOR position from DSLIST panel
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> TSO and ISPF

#1: Capturing CURSOR position from DSLIST panel Author: PhantomLocation: The Blue Planet PostPosted: 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: DaveyCLocation: Perth, Western Australia PostPosted: 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: PhantomLocation: The Blue Planet PostPosted: Tue Jan 14, 2003 7:08 am
    —
Thanks Dave. Its great.

Regards,
Navin. J



MVSFORUMS.com -> TSO and ISPF


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group