MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Execution JCL for Batch Job using both IMS and DB2

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
manojagrawal
Beginner


Joined: 25 Feb 2003
Posts: 124
Topics: 29

PostPosted: Tue Mar 25, 2003 5:00 am    Post subject: Execution JCL for Batch Job using both IMS and DB2 Reply with quote

Hi,

I have a batch module and JCL which was till now using IMS.

I have now added DB2 to the Module. What changes do i need to do to the Execution JCL to make it run.

The Existing JCL I have is.

Code:
//STEP10  EXEC PGM=DFSRRC00,PARM=(DLI,AAAAAAA,BBBBBBB,,,,,,,,,,,N)   
//DFSRESLB DD DSN=IMS.X.RESLIB,DISP=SHR                           
//IMS      DD DSN=X.Y.DBDLIB,DISP=SHR                       
//         DD DSN=X.Y.PSBLIB,DISP=SHR                       
//AAAAD11  DD DSN=A.B.AAAAD11,DISP=OLD                           
//BBBBD12  DD DSN=A.B.BBBBD12,DISP=OLD                           
//USRRPT   DD SYSOUT=*                                               
//SYSPRINT DD SYSOUT=*                                               
//IEFRDER  DD DUMMY                                                   
//DFSVSAMP DD DSN=A.B.CNTL01(BUFSIZE),DISP=SHR               


The Module Name - AAAAAAA
PSB Name - BBBBBBB
Plan Name - AAAAAAA

Regards,
Manoj.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Mar 25, 2003 9:33 am    Post subject: Reply with quote

Change the program AAAAAAA to DSNMTV01 and add a DB2IN card. Both should be documented in the IBM manuals.
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Thu Jun 08, 2006 2:21 am    Post subject: Reply with quote

Could someone please throw more light on this? What I understand is you need to run dfsrc000 as in a pure ims program and pass db2 parameters thru the parm.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Jun 08, 2006 10:09 am    Post subject: Reply with quote

DFSRRC00 is the IMS control program, the PARMS refer to the application program and how to run it. If you are using DL/I and the program uses DB2, then you need to use the DB2 load program DSNMTV01 instead of the application program in the PARMS string and you pass DB2 information (including application program name and plan name) in the DB2IN card.
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Thu Jun 08, 2006 10:11 am    Post subject: Reply with quote

Cheers Bh.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group