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

Regarding DBDGEN and PSBGEN.


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kapiltamrakar

New User


Joined: 24 May 2009
Posts: 41
Location: Hyderabad

PostPosted: Sat Jun 20, 2009 12:10 am
Reply with quote

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

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Sat Jun 20, 2009 12:30 am
Reply with quote

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

New User


Joined: 24 May 2009
Posts: 41
Location: Hyderabad

PostPosted: Sat Jun 20, 2009 10:42 pm
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 21, 2009 12:09 am
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jun 22, 2009 2:46 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error during DBDGEN IMS DB/DC 15
No new posts SCAN option in DBDGEN IMS DB/DC 1
No new posts Problem during DBDGEN for SECNDARY INDEX IMS DB/DC 10
No new posts DBDGEN problem with MAX CC = 8 IMS DB/DC 1
No new posts PSBGEN & ACBGEN IMS DB/DC 1
Search our Forums:

Back to Top