View previous topic :: View next topic
|
Author |
Message |
Katharine Allen
New User
Joined: 01 Jun 2010 Posts: 8 Location: NY, NY
|
|
|
|
About to LINK into a program when we receive a U1013 abend.
both the calling and called CICS program has AMODE(31), RMODE(ANY)
Our installation added the new z/OS Binder to replace the linkage editor. It has impacted the program.
Any insights... info available on request... |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
From the manual -
"If the dynamic COBOL CALL fails, CICS abend handling is not invoked, and you may get a COBOL abend code (1013)." A 1013 is generated by LE (Language Environment).
Are you CALLING or LINKING to the program?
If you're using COBOL, make sure you're using compiler option "NODYNAM", as "DYNAM" is never correct for a CICS/COBOL program and could cause "Unpredictable Results".
In a COBOL "CALL USING" statement, you must provide addressability to the EIB and COMMAREA, so you must specify DFHEIBLK DFHCOMMAREA as the first two parms, followed by whatever other necessary required parms. |
|
Back to top |
|
|
Katharine Allen
New User
Joined: 01 Jun 2010 Posts: 8 Location: NY, NY
|
|
|
|
the program is LINKing to the program.
I will check and see if it is DYNAM
for the compile In the calling CICS program, we added an INCLUDE to another non-CICS COBOL batch program to the linkedit step to make it static. the batch is program is called with CALL USING. THis is working.
the batch program merely adds a century indicator to a date field. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Your description is confusing, to me anyway.
Is this new code, or just being relinked with the "new" Binder? Why else do you feel the Binder is the issue? This is testing for the first time with your new method of compile/link or it is already working elsewhere?
You mention "another" batch program, implying there is a "first" batch program somewhere. Can you explain clearly?
Can you show your linkedit/bind control cards and explain what you mean about the INCLUDE? Did you check messages on the output?
Can you show your code for the CICS LINK? |
|
Back to top |
|
|
|