MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Capturing CURSOR position from DSLIST panel

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Jan 14, 2003 6:01 am    Post subject: Capturing CURSOR position from DSLIST panel Reply with quote

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
View user's profile Send private message
DaveyC
Moderator


Joined: 02 Dec 2002
Posts: 151
Topics: 3
Location: Perth, Western Australia

PostPosted: Tue Jan 14, 2003 6:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Jan 14, 2003 7:08 am    Post subject: Reply with quote

Thanks Dave. Its great.

Regards,
Navin. J
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group