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

step by step process of running imsdb-cics-cobol program?


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

New User


Joined: 05 May 2005
Posts: 2

PostPosted: Sat May 07, 2005 10:49 am
Reply with quote

haai

can any one working in ims-db real time environment please send me sample DBD,PSB and please explain the step by step process of how to compile and run imsdb-cics-cobol program.

kumar9972@yahoo.co.uk

thankx

kumar.
Back to top
View user's profile Send private message
santhakumar

New User


Joined: 16 May 2005
Posts: 4
Location: chennai

PostPosted: Thu May 19, 2005 9:26 am
Reply with quote

Hi Kumar,

Here you go for the samples:


DBD:
DBD NAME=OTAIDI1T,ACCESS=(INDEX,VSAM)
DS1 DATASET DD1=OTAII1DT,DEVICE=3380,SIZE=2048
SEGM NAME=OTAIINDX,BYTES=4
FIELD NAME=(OTAIXKEY,SEQ,U),BYTES=4,START=1
LCHILD NAME=(OTAISROT,OTAIDM1T),INDEX=OTAIROTK
DBDGEN
FINISH
END

PSB:

PCB TYPE=DB,DBDNAME=DJAADM1P,PROCOPT=AP,KEYLEN=16
SENSEG NAME=DJAASROT,PARENT=0

PCB TYPE=DB,DBDNAME=DJAPDM1P,PROCOPT=AP,KEYLEN=19
SENSEG NAME=DJAPSROT,PARENT=0
SENSEG NAME=DJAPSCLM,PARENT=DJAPSROT

PSBGEN LANG=COBOL,PSBNAME=OTADPSBP
END

Please go through the IMS db book so that you can understand how a DBD as well as PSB is being generated.

Thanks ,
Santha Kumar
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top