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

Call fails with 4038 abend


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
JeffM

New User


Joined: 18 Sep 2006
Posts: 2

PostPosted: Mon Sep 18, 2006 1:26 pm
Reply with quote

I have a program CALL that fails with a 4038 abend and I can't see why. The call is dynamic, using a variable that contains the program name. The called program clean compiles. I tried changing both to use EXEC CICS LINK instead and this worked OK, so the program is obviously acceptable to CICS in that format. I just can't see why it should fail when called. Yes, it does use GOBACK.

I'm certain that it's the call itself and not the called program, because an inserted TRACEID statement (first line) is never executed.

Any ideas?
Back to top
View user's profile Send private message
JeffM

New User


Joined: 18 Sep 2006
Posts: 2

PostPosted: Tue Sep 19, 2006 6:27 am
Reply with quote

After some more digging, I found that an IGZ module failed to load. It seems that this module is AMODE=31 and my called program was AMODE=24. I recompiled using AMODE=31 and the call then worked. It seems LE doesn't like the mix, so even though CICS could load the program, LE couldn't.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts ADDRESS TSO CALL to invoke a module TSO/ISPF 7
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
Search our Forums:


Back to Top