View previous topic :: View next topic |
Author |
Message |
ranjit2705 Beginner
Joined: 25 Mar 2003 Posts: 12 Topics: 8
|
Posted: Thu Aug 17, 2006 10:46 am Post subject: What is the Rexx Command to see the Current PDS and Member? |
|
|
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 |
|
|
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Thu Aug 17, 2006 11:12 am Post subject: |
|
|
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 |
|
|
ranjit2705 Beginner
Joined: 25 Mar 2003 Posts: 12 Topics: 8
|
Posted: Thu Aug 17, 2006 11:28 am Post subject: |
|
|
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 |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Thu Aug 17, 2006 12:04 pm Post subject: |
|
|
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 |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Aug 17, 2006 12:17 pm Post subject: |
|
|
Also, to run this command from the ISPF editor, use just the macro name. Don't prefix it with "TSO". |
|
Back to top |
|
|
Steve Coalbran Beginner
Joined: 09 Mar 2005 Posts: 22 Topics: 0 Location: Stockholm, Sweden
|
Posted: Mon Aug 21, 2006 2:01 pm Post subject: Re: What is the Rexx Command to see the Current PDS and Memb |
|
|
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 |
|
|
|
|