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: 1278
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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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