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 

What is the Rexx Command to see the Current PDS and Member?

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


Joined: 25 Mar 2003
Posts: 12
Topics: 8

PostPosted: Thu Aug 17, 2006 10:46 am    Post subject: What is the Rexx Command to see the Current PDS and Member? Reply with quote

Hi,

Can anyone tell me the Rexx command to capture the current dataset name & member on which I am working now?

Thanks

Ranjit
_________________
Regards
Ranjit S Panda
Software Engineer
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Thu Aug 17, 2006 11:12 am    Post subject: Reply with quote

Code:


/* REXX - SPN */   
ADDRESS ISREDIT     
"MACRO PROCESS"     
"(MEM)=MEMBER"     
"(PDS)=DATASET"     
SAY MEM             
SAY PDS             


________
Versailles


Last edited by coolman on Sat Feb 05, 2011 1:48 am; edited 1 time in total
Back to top
View user's profile Send private message
ranjit2705
Beginner


Joined: 25 Mar 2003
Posts: 12
Topics: 8

PostPosted: Thu Aug 17, 2006 11:28 am    Post subject: Reply with quote

Thanks for your input.

I tried this, but display says only "MEM" and "PDS" instead of the actual PDS name.
_________________
Regards
Ranjit S Panda
Software Engineer
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Thu Aug 17, 2006 12:04 pm    Post subject: Reply with quote

These are not REXX commands. These are Edit-Macro commands written in REXX. you can invoke the above code only from ISPF editor.

To get the same info in pure REXX, please use PARSE SOURCE and/or some of the SYSVAR arguments.

O.
________
Ford C170 platform specifications


Last edited by ofer71 on Sat Feb 05, 2011 11:41 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Aug 17, 2006 12:17 pm    Post subject: Reply with quote

Also, to run this command from the ISPF editor, use just the macro name. Don't prefix it with "TSO".
Back to top
View user's profile Send private message Visit poster's website
Steve Coalbran
Beginner


Joined: 09 Mar 2005
Posts: 22
Topics: 0
Location: Stockholm, Sweden

PostPosted: Mon Aug 21, 2006 2:01 pm    Post subject: Re: What is the Rexx Command to see the Current PDS and Memb Reply with quote

ranjit2705 wrote:
Hi,

Can anyone tell me the Rexx command to capture the current dataset name & member on which I am working now?

Thanks

Ranjit


Actually Ranjit's question makes no reference as to whether he (I hope that's not his current photo?!) is actually logged onto TSO or ISPF or is punching a JCL to work on the dataset on a card punch or does the '2705' suffix refer to the model number of a teletype terminal (never used those).
I mean how much should we guess with these replies? How deep an explanation...
"Once upon a time there was a register and he was soooo lonely that...."

A couple of details may help us without psychic abilities?
PSYCHIC=YES in one's CONFIG.SYS doesn't help either !

It's a bit like saying "what's the freezing point of Nitrogen?"
Where? Foy
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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