View previous topic :: View next topic
|
Author |
Message |
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
Hi,
I need to know the how we can get the symbolic name which is already allloacted for a physical dataset name.
For eg:
If we use TSO ISRDDN
we get
Code: |
Volume Disposition Act DDname Data Set Name Actions: B E V M F
xx shr xx ab1 test1.pdf
xx shr xx ab2 test2.pdf
xx shr xx dd test1.pdf |
So I know test1.pdf .I need to get ab1 and dd as my result
Here test1.pdf is physical DS
Please let me know what is the rexx command to be used |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do you mean by "symbolic name" |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
If I'm interpreting this right, there's one dataset allocated to multiple DD's, and you want to know, for that given dataset name, the corresponding DD names? |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
superk assumption is right .I need to get all the DDNAMES for a physical datasets |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
OK, so how about going into some detail here.
What datasets are we talkingabout, TSO datasets, PS datasets, VSAM datasets. Are these general datasets, your own datasets....... ad nauseum.
Unless you take the time to accurately describe exactly what it is that you want, then all sorts of confusion and wasted time and effort will occur.
Remember - The best answers come from the best questions !! |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
Hi,
Below is the output from TSO ISRDDN. The 'Data Set Names' gets allocated when I start a tool called CSF. The DDnames associated with these files (SYS00047, SYS00048 etc) are created dynamically. i.e it is different each time I start this tool.
I need to have a rexx tool to get these DD names (SYS00047, SYS00048 etc) after I invoke the CSF.
Code: |
Command ===> Scroll ===> CSR
Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q
BAID3B SHR,KEEP > SYS00047 FBSD.PEXTB.P.FBSCSF46.ISPCLIB
BAID3B SHR,KEEP > SYS00048 FBSD.PEXTB.P.FBSCSF46.ISPCLIB
BAID3B SHR,KEEP > SYS00050 FBSD.PEXTB.P.FBSCSF46.ISPCLIB
-------------------------- End of Allocation List ----------------------------
|
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Doubt if you are going to get the same DDnames as CSF,
since these handles are created on the fly. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
why a rexx tool? isnt using ISRDDN not good enough? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
OK, so progressing along - it is sometimes (a) interesting and (b) helpful to understand the why as well as the how.
Why do you need to know the temporary DD names for these allocations. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Have you tried using the command LISTA STATUS |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
Hi,
I want a REXX to append my datasets to the orginal data after involking CSF.
My Requirement is as below.
I run CSF. Then i invoke ISRDDN so it will look like below
Code: |
Command ===> Scroll ===> CSR
Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q
BAID3B SHR,KEEP > SYS00047 FBSD.PEXTB.P.FBSDCSF46.ISPCLIB
BAID3B SHR,KEEP > SYS00048 FBSD.PEXTB.P.FBSDCSF46.ISPCLIB
BAID3B SHR,KEEP > SYS00050 FBSD.PEXTB.P.FBSDCSF46.ISPCLIB
-------------------------- End of Allocation List ----------------------------
|
Now i want to change it to
Code: |
Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q
BAUD22 SHR,KEEP > SYS00047 FBSD.PEXTB.N.REXX
BAID3B SHR,KEEP > FBSD.PEXTB.P.FBSCSF46.ISPCLIB
BAUD22 SHR,KEEP > SYS00048 FBSD.PEXTB.N.REXX
BAID3B SHR,KEEP > FBSD.PEXTB.P.FBSCSF46.ISPCLIB
BAUD22 SHR,KEEP > SYS00050 FBSD.PEXTB.N.REXX
BAID3B SHR,KEEP > FBSD.PEXTB.P.FBSCSF46.ISPCLIB
-------------------------- End of Allocation List -----------------------------
|
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
So what you mean is a concatenation of your datasets? |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
I want the CSF to look into my dataset before looking into the orginal dataset.
But i not concerned on those things.
I need a rexx command to get the SYS00047,SYS00048 and SYS00050 for a search for FBSD.PEXTB.P.FBSCSF46.ISPCLIB |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
dalydas wrote: |
I want the CSF to look into my dataset before looking into the orginal dataset. |
So you can do things that the system would not allow you to do otherwise?
People get dismissed for such antics... |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
I have created my own tools so i need to use them in CSF.
My requiremnt is
"I need a rexx command to get the SYS00047,SYS00048 and SYS00050 for a search for FBSD.PEXTB.P.FBSCSF46.ISPCLIB"
If any one know please help othwerise please ignore |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
dalydas wrote: |
If any one know please help othwerise please ignore |
Excuse me for saying so, but isn't that rather a flippant / rude response to someone who is pointing out the possible consequences of your actions.
If this is a business requirement, then you should ask your manager to have included into the correct library concatenation the REXX / CLIST code that you deem to require to perform your job.
I for one tend to agree with Prino. And would also like to point out that unless you have the authority to doctor the SMF data produced by your operating system, anything that you do do, will be recorded and kept for several years. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
dalydas wrote: |
If any one know please help othwerise please ignore |
typical response from an inexperienced coder. |
|
Back to top |
|
|
dalydas Currently Banned New User
Joined: 29 May 2006 Posts: 10 Location: india
|
|
|
|
If you don't know don't reply. I will find myself.
I am experience or inexperienced or you agree or u don't agree i don't care. You do whatever you want but i know one thing.
" You people don't have any solution" then don't bluff.. or put... if you things ask questions if you have doubts .. rather than sugessting what i should do or not to do...
GEt lost forum
People who doesn't know always speaks rubbish rather than giving the solutions...... That may be you way of doing this.... |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
instead of quitting the forum, you ought to quit IT, also.
you were provided with the appropriate solution:
If this is a business requirement, then you should ask your manager to have included into the correct library concatenation the REXX / CLIST code that you deem to require to perform your job.
this is the professional solution.
your childish remarks only verify what the others have alluded:
you don't know enough, nor are you smart enough to accept good advice. |
|
Back to top |
|
|
|