Use of dynalloc to retrieve DD name of a dataset.



High Level Assembler(HLASM) for MVS & VM & VSE

Use of dynalloc to retrieve DD name of a dataset.

Postby meghna » Wed Dec 21, 2011 2:41 pm

Hello,

I need help in retrieving DD name given the dataset name. I read it somewhere that this can be done using DYNALLOC.
Can somebody please tell me how to do this?

Regards
Meghna
meghna
 
Posts: 2
Joined: Wed Dec 21, 2011 2:29 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Use of dynalloc to retrieve DD name of a dataset.

Postby enrico-sorichetti » Wed Dec 21, 2011 2:47 pm

quote where You have read it , please, it might be interesting to know ...
using DYNALLOC You can find the DSNAME from the DDNAME ( not the other way around )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Use of dynalloc to retrieve DD name of a dataset.

Postby meghna » Wed Dec 21, 2011 3:05 pm

Thanks for your reply.
I dont remember where I read it..
Was not sure whether this can be done was just trying to do it.

Regards,
Meghna
meghna
 
Posts: 2
Joined: Wed Dec 21, 2011 2:29 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Use of dynalloc to retrieve DD name of a dataset.

Postby steve-myers » Wed Dec 21, 2011 7:44 pm

You are probably referring to the information retrieval function of dynamic allocation. You use the DINDSNAM key to specify the dataset name and the DINRTDDN key to get the matching DD name.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Use of dynalloc to retrieve DD name of a dataset.

Postby steve-myers » Thu Dec 22, 2011 10:03 am

Dynamic allocation is documented fairly well in MVS Authorized Assembler Services Guide for your release. 99% of dynamic allocation can be done by ordinary programs, no authorization is required.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post