Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us