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

IMS-DB2 Cobol program


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
Reply with quote

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

Superior Member


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

PostPosted: Tue Sep 29, 2009 3:53 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


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