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 

Retrieving the name of a PDS member chosen when using VIEW

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


Joined: 02 Dec 2002
Posts: 616
Topics: 171
Location: Stockholm, Sweden

PostPosted: Fri Mar 11, 2016 4:53 am    Post subject: Retrieving the name of a PDS member chosen when using VIEW Reply with quote

If I run the command
Code:

address ISPEXEC "view dataset('"tempdsn"') macro("macroname") ",
                "parm(temp)"                                     

and tempdsn contains, say PLAS.COBOL, then ISPF will present me with a list of members in the PDS and allow mt to choose a specific one to run the macroname against. Fine (and neat).

My question is, is there any "hidden" method of retrieving the name of the member chosen after VIEW is finished ?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 616
Topics: 171
Location: Stockholm, Sweden

PostPosted: Fri Mar 11, 2016 5:13 am    Post subject: Reply with quote

It occurred to me that I could (in the first macro run) do a VPUT on the member name and then VGET it before running the second macro, but I would have thought the selected member's name is saved somewhere ?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
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