what is the purpose of proclib dd statement



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Re: what is the purpose of proclib dd statement

Postby GuyC » Thu Aug 13, 2009 12:33 pm

dick scherrer wrote:Also, most systems i've supported have "sort control" statements in one or more PDS that is named as a DD in the job.


a pds or a member of a pds ?

statements like
//xxx dd disp=shr,dsn=some.pds.parm(AAA)
or
//xxx dd disp=shr,dsn=some.pds.parm(AAA1)
//      dd disp=shr,dsn=some.pds.parm(AAA2)

I've seen everywhere (they are handled just like any sequential dataset)
but
//xxx dd disp=shr,dsn=some.pds.parm
or
//proclib dd dsp=shr,dsn=some.pds.proclib

where the program itself decides which member(s) to use ? Those programs usually have calls to some "dynamic allocation" routines or services.
I think we're talking about different things.
I can explain it to you, but i can not understand it for you.
GuyC
 
Posts: 315
Joined: Tue Aug 11, 2009 3:23 pm
Has thanked: 1 time
Been thanked: 4 times

Re: what is the purpose of proclib dd statement

Postby dick scherrer » Fri Aug 14, 2009 1:40 am

Hello,

Those programs usually have calls to some "dynamic allocation" routines or services.
Yup, sure do :)

My examples are of the simple variety where one or more members is used as sequential input to "something". Kinda as a reply to:
But I'd like to see a batch program that has a PDS in the DD-list and accesses members without "doing some kind of dynamic allocation"
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Previous

Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post