View previous topic :: View next topic
|
Author |
Message |
kapiltamrakar
New User
Joined: 24 May 2009 Posts: 41 Location: Hyderabad
|
|
|
|
Hi all,
Can any one please tell me, how we include DBD or PSB in our Application program or in JCL. if any one is having sample, it will be more useful.
thanks in advance. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Code: |
//STEPxx EXEC PGM=DFSRRC00,PARM='DLI,prg,psb'
//STEPLIB DD DSN=hlq.loadlib,DISP=SHR
//IMS DD DSN=hlq.DBDLIB,DISP=SHR
// DD DSN=hlq.PSBLIB,DISP=SHR |
|
|
Back to top |
|
|
kapiltamrakar
New User
Joined: 24 May 2009 Posts: 41 Location: Hyderabad
|
|
|
|
hi Douglas ,
thanx for ur quick response,
one more question...can you please tell me the content of these datasets
hlq.DBDLIB,DISP=SHR
hlq.PSBLIB,DISP=SHR
if i am right these datasets will contain the job which is required for generating DBD and PSB respectively. please correct me if i am wrong. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
if i am right these datasets will contain the job which is required for generating DBD and PSB respectively |
Probably not. . .
I suspect these would contain the DBDs and PSBs generated on that system rather than the "job" requyired to generate them.
Suggest you speak with your dba for the specifics for your system. These should be common/standard processes that everyone uses. There should not be custom/personal processes. . . |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
DBD stands for Database Description -- so a DBDLIB will not have the JCL to generate the DBD instead it will have the Definition of respective Data bases.
PSB stands for Program Specification Block -- In IMS/VS, a control block that contains all database program communication blocks (DB PCB) that exist for a single application program. DB PCBs define which segments in a database an application can access, so again PSBLIB will not have a JCL to generate it.
As in very first post of yours you said
Quote: |
how we include DBD or PSB in our Application program or in JCL |
-- think, as an application engg. why would you like to provide a path to another JCL inside a JCL (which will generate DBD/PSB) while your motive is to execute a program? Application program expects the definition of DB not the JCL to generate that (Database Definition) -- even if this question becomes site specific as Dick suggested but having it in your follow-up post, after your first quesion, makes a little sense. RTFM. |
|
Back to top |
|
|
|