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

U1013 Abend in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Katharine Allen

New User


Joined: 01 Jun 2010
Posts: 8
Location: NY, NY

PostPosted: Sat Mar 31, 2012 3:46 am
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Mar 31, 2012 6:51 am
Reply with quote

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
View user's profile Send private message
Katharine Allen

New User


Joined: 01 Jun 2010
Posts: 8
Location: NY, NY

PostPosted: Sat Mar 31, 2012 3:33 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Mar 31, 2012 4:14 pm
Reply with quote

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
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top