Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Regarding DBDGEN and PSBGEN.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Regarding DBDGEN and PSBGEN.
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Jun 21, 2009 12:09 am    Post subject:
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

Senior Member


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

PostPosted: Mon Jun 22, 2009 2:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error during DBDGEN enrico-sorichetti IMS DB/DC 15 Thu Oct 06, 2011 9:10 pm
No new posts SCAN option in DBDGEN srsathish IMS DB/DC 1 Mon Jan 17, 2011 2:48 pm
No new posts Problem during DBDGEN for SECNDARY INDEX shreejita IMS DB/DC 10 Wed Aug 25, 2010 9:57 am
No new posts DBDGEN problem with MAX CC = 8 Thinnaluri IMS DB/DC 1 Fri Jul 03, 2009 7:06 pm
No new posts PSBGEN & ACBGEN johnjohn055 IMS DB/DC 1 Sat Sep 13, 2008 10:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us