Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to work out a IMS-DB2 program !!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
mf_user
Currently Banned

Active User


Joined: 05 Jan 2006
Posts: 75

PostPosted: Tue Jan 31, 2006 4:09 pm    Post subject: How to work out a IMS-DB2 program !!
Reply with quote

Hi,

We use IMS-DB2 in our shop. I would like to know...........

1). What is the compiling procedure for an IMS-DB2-COBOL program?
2). Why it is NOT required to specify the PLAN in the job to execute an IMS-DB2-COBOL program?
3). What are all the MUST parameters needs to be specified for PGM=DFSRRC00?
4). How to work with GSAM files in IMS/DB?

Please respond with details.

Thanks in advance.
Back to top
View user's profile Send private message
References
Bitneuker

IMS Moderator


Joined: 07 Nov 2005
Posts: 1143
Location: The Netherlands at Hole 19

PostPosted: Tue Jan 31, 2006 4:51 pm    Post subject:
Reply with quote

Hi MF,

For DFSRRC00 Google the net and take some time to examine some of the abot 560 items found. As for GSAM please refer to the IMS manuals. For IMS-DB2 I will send you examples by PM later on.

Cheers,

George
Back to top
View user's profile Send private message
mf_user
Currently Banned

Active User


Joined: 05 Jan 2006
Posts: 75

PostPosted: Tue Jan 31, 2006 5:37 pm    Post subject: Re: How to work out a IMS-DB2 program !!
Reply with quote

Thanks.
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 116

PostPosted: Wed Feb 01, 2006 10:05 am    Post subject: Re: How to work out a IMS-DB2 program !!
Reply with quote

mf_user wrote:
Hi,

We use IMS-DB2 in our shop. I would like to know...........

1). What is the compiling procedure for an IMS-DB2-COBOL program?
2). Why it is NOT required to specify the PLAN in the job to execute an IMS-DB2-COBOL program?
3). What are all the MUST parameters needs to be specified for PGM=DFSRRC00?
4). How to work with GSAM files in IMS/DB?

Please respond with details.

Thanks in advance.



Hi MF,

1. In my shop we use chgman for compilation. if it in your's too, you can follow this procedure. you need to specify DB2 yes option. then other options like DLIXXX etc.

3. For DFSRRC00 we need to specify the PSB name .

suggestions welcomed,,,

gowtham
Back to top
View user's profile Send private message
Bitneuker

IMS Moderator


Joined: 07 Nov 2005
Posts: 1143
Location: The Netherlands at Hole 19

PostPosted: Wed Feb 01, 2006 4:36 pm    Post subject:
Reply with quote

Hi MF,

Instead of a PM I post an example of the jcl for batch IMS-DB/DB2.

//STEP01 EXEC PGM=DFSRRC00,REGION=0M,
// PARM='DLI,DSNMTV01,program,40,00'
//STEPLIB DD DSN=programlibrary,DISP=SHR
//IMS DD DSN=psblibrary,
// DISP=SHR
// DD DSN=dbdlibrary,
// DISP=SHR
//DFSVSAMP DD *
VSRBF=32768,100
VSRBF=20480,100
VSRBF=8192,120
VSRBF=4096,100
VSRBF=2048,100
VSRBF=1024,200
IOBF=(32K,5)
OPTIONS,INSERT=SEQ
//IEFRDER DD DUMMY
//IMSDBBPL DD SYSOUT=*,DCB=A
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SNPOUT DD SYSOUT=*
//PLIDUMP DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//CEEDUMP DD SYSOUT=*
//ABENDAID DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//DDITV02 DD *
DBE1,SYS1,DSNMIN10,,R,-,AKT,PLANxxx,program,YYY
//IEFRDER DD DUMMY
//DDOTV02 DD SYSOUT=*,RECFM=VB,LRECL=4092

Cheers,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1