IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get symbolic allocation name for a physical DS name


IBM Mainframe Forums -> CLIST & REXX
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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: 8797
Location: Welsh Wales

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

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

Global Moderator


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

PostPosted: Thu Jun 03, 2010 3:49 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 04, 2010 11:34 am
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
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 12:55 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 04, 2010 1:06 pm
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: 262

PostPosted: Fri Jun 04, 2010 2:06 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 04, 2010 2:39 pm
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
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

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Fri Jun 04, 2010 3:02 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 04, 2010 4:11 pm
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
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
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
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Rotate partition-logical & physic... DB2 0
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
No new posts Dynamic file allocation using JCL JCL & VSAM 8
No new posts passing symbolic parameters through d... JCL & VSAM 3
Search our Forums:

Back to Top