Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to get symbolic allocation name for a physical DS name

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Thu Jun 03, 2010 2:56 pm    Post subject: How to get symbolic allocation name for a physical DS name
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jun 03, 2010 3:38 pm    Post subject:
Reply with quote

What do you mean by "symbolic name"
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Jun 03, 2010 3:49 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 9:41 am    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

superk assumption is right .I need to get all the DDNAMES for a physical datasets
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 04, 2010 11:34 am    Post subject:
Reply with quote

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
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 12:50 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 04, 2010 12:54 pm    Post subject:
Reply with quote

Doubt if you are going to get the same DDnames as CSF,
since these handles are created on the fly.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 12:55 pm    Post subject:
Reply with quote

why a rexx tool? isnt using ISRDDN not good enough?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 04, 2010 1:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Fri Jun 04, 2010 2:06 pm    Post subject:
Reply with quote

Have you tried using the command LISTA STATUS
Back to top
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 2:35 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 2:39 pm    Post subject:
Reply with quote

So what you mean is a concatenation of your datasets?
Back to top
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 2:59 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Fri Jun 04, 2010 3:02 pm    Post subject: Re: Reply to: How to get symbolic allocation name for a phys
Reply with quote

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
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 3:08 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 04, 2010 4:11 pm    Post subject: Re: Reply to: How to get symbolic allocation name for a phys
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 04, 2010 4:16 pm    Post subject: Re: Reply to: How to get symbolic allocation name for a phys
Reply with quote

dalydas wrote:
If any one know please help othwerise please ignore


typical response from an inexperienced coder.
Back to top
View user's profile Send private message
dalydas
Currently Banned

New User


Joined: 29 May 2006
Posts: 10
Location: india

PostPosted: Fri Jun 04, 2010 5:01 pm    Post subject: Reply to: How to get symbolic allocation name for a physical
Reply with quote

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 icon_razz.gif icon_razz.gif icon_razz.gif icon_razz.gif icon_razz.gif icon_razz.gif


People who doesn't know always speaks rubbish rather than giving the solutions...... That may be you way of doing this....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 04, 2010 5:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
This topic is locked: you cannot edit posts or make replies. Put quotes in Symbolic parameter whil... Yashashri All Other Mainframe Topics 7 Mon Feb 15, 2016 12:24 pm
No new posts symbolic parm - allocate dsn krrp JCL & VSAM 11 Sat Oct 31, 2015 8:27 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us