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

How to call a Cobol DB2 batch program from a CICS program?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vijay kumar

New User


Joined: 03 Mar 2007
Posts: 1
Location: Mumbai

PostPosted: Fri Jul 20, 2007 2:29 pm
Reply with quote

I compiled a non DB2 Cobol batch program (IB075PAB) and Cobol-DB2 batch program(IBAB0405) specifying load library as the one used for the CICS region(TEST.DBT1X.USERLIB).
I compiled CICS program MP33MP33 in the same load library(TEST.DBT1X.USERLIB).

I called IB075PAB from MP33MP33 which in turn calls IBAB0405.
When doing this, it is failing with error "CEE3501S The module IBAB0405 was not found."

Calling a non DB2 batch program compiled in the same load library is working fine but the problem is being faced only whle calling a Cobol-DB2 batch program.

Could you please suggest a solution for this problem.

Thanks,
Dharmendra
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Fri Jul 20, 2007 2:44 pm
Reply with quote

Hi,

I dont know much online, But did you bind Cobol-DB2 program ? if yes, new copy the entry and then run the same..

Thanks
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 2:51 pm
Reply with quote

Did a PPT entry get created for the missing program?
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Sat Jul 21, 2007 1:31 am
Reply with quote

Also, try executing Expediter in CICS and see what's happening between IB075PAB and IAB0405.
Back to top
View user's profile Send private message
shagnwrx

New User


Joined: 07 Jul 2006
Posts: 17
Location: Birmingham, AL

PostPosted: Sat Jul 21, 2007 3:31 am
Reply with quote

This is a module not found. If the PPT were missing we'd have an APCT abend.

First physically check the LOAD or LINK library where this program is supposed to be. Verify it's there and doesn't have a NX atrribute to the right (Non-Executable).

Another thing to think about: Was the failing program or caller compiled with DYNAM? If so, I do not believe the DYNAM Cobol environment works all that great with CICS. Compile with option NODYNAM and that may get around it as well.
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: Sat Jul 21, 2007 4:15 am
Reply with quote

Hello,

You might want to verify that an O (oh) or a 0 (zero) hasn't been mis-typed somewhere.
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Sat Jul 21, 2007 8:41 am
Reply with quote

if you compile with DYNAM, then CICS neeeds to have autoinstall turned on, talk to your TechSupport people.


Make sure your batch DB2 program is in a loadlib concatenated to cics
RPL libs.

RPL List should also be pointing to the LE" libs

DD DISP=SHR,DSN=CEE.SCEECICS
DD DISP=SHR,DSN=CEE.SCEERUN
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 -> CICS

 


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 COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top