Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to call a Cobol DB2 batch program from a CICS program?
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 2:51 pm    Post subject:
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: 147
Location: Columbia, MO

PostPosted: Sat Jul 21, 2007 1:31 am    Post subject: Re: How to call a Cobol DB2 batch program from a CICS progra
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    Post subject:
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

Site Director


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

PostPosted: Sat Jul 21, 2007 4:15 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us