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
 

 

IMS-DB2 Cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
suyash_agrawal

New User


Joined: 27 Nov 2006
Posts: 7
Location: India

PostPosted: Tue Sep 29, 2009 12:22 pm    Post subject: IMS-DB2 Cobol program
Reply with quote

Apologies if similar question has been asked earlier. I have searched but could not find any. Please direct me to the link if there is existing discussion on the query below:

Query:
I have an IMS-DB2-Cobol program which need to call an external DB2 program. I have done bind-link eveything but I am getting a RC of -927.
I feel a change of JCL is required. I am using DFSRRC00 and can not use IKJ** programs.
Can someone please help with this?

details below:
IMS-DB2 cobol Program name - KBFCREB
DB2 cobol prog name - CPTTANN

Link card:

ENTRY KBFCREB
INCLUDE OBJLIB(KBFCREB)
INCLUDE OBJLIB(BFYM10DC)
INCLUDE IMSLIB(DFSLI000)
NAME KBFCREB0(R)


Please let me know what more details(JCLs etc) are required from my side.

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

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Tue Sep 29, 2009 3:20 pm    Post subject:
Reply with quote

http://www.ibmmainframes.com/about8580.html

search ims-db2 : topic title only : number 4 hit
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Sep 29, 2009 3:53 pm    Post subject:
Reply with quote

1. Make sure you use the correct DB2 attachment stub.
2. Make sure you include the linkage control card in your development package (package? -- changeman terminology).
Back to top
View user's profile Send private message
suyash_agrawal

New User


Joined: 27 Nov 2006
Posts: 7
Location: India

PostPosted: Tue Sep 29, 2009 5:27 pm    Post subject: Reply to: IMS-DB2 Cobol program
Reply with quote

Thanks both.
I tried the information on the link but still getting the same error. .
Anuj, Would you be able to kindly expand further on your comments please?
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 -> DB2 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 pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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