Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to capture the Present PDS name and member name??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
shreevamsi

Senior Member


Joined: 23 Feb 2006
Posts: 320
Location: Hyderabad,India

PostPosted: Tue Jul 25, 2006 9:45 am    Post subject: How to capture the Present PDS name and member name??
Reply with quote

Hi,

I Opened a member in the PDS.

Using REXX, is there a way to capture the name of the PDS and the Member currently opened in a varible ??


Thanks,
~Vamsi
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3314
Location: Charlotte,NC USA

PostPosted: Tue Jul 25, 2006 10:24 am    Post subject: Re: How to capture the Present PDS name and member name??
Reply with quote

Use a couple of ISPF EDIT Macro statements:

/* REXX */
"ISREDIT MACRO"
"ISREDIT currdsn = DATASET"
"ISREDIT currmem = MEMBER"
Say "'"currdsn"("currmem")'"
Back to top
View user's profile Send private message
shreevamsi

Senior Member


Joined: 23 Feb 2006
Posts: 320
Location: Hyderabad,India

PostPosted: Tue Jul 25, 2006 10:49 am    Post subject: Re: How to capture the Present PDS name and member name??
Reply with quote

Hi,

Thanks superk.

it z working.

~Vamsi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1