View previous topic :: View next topic
|
Author |
Message |
suyash_agrawal
New User
Joined: 27 Nov 2006 Posts: 7 Location: India
|
|
|
|
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 |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
suyash_agrawal
New User
Joined: 27 Nov 2006 Posts: 7 Location: India
|
|
|
|
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 |
|
|
|