LE is intercepting my dumps.
-
- Posts: 41
- Joined: Fri Oct 01, 2010 9:43 pm
- Skillset: Assembler, COBOL, CICS, DB2, Pl/I, JCL and tableBASE
- Referer: google search
LE is intercepting my dumps.
I have an Assembler language program that calls a COBOL routine. The COBOL routine is getting a S0C4 abend, but LE is intercepting the dump so I can't see what's failing. Any suggestions?
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: LE is intercepting my dumps.
You can usually tell something from the LE dump. What dump DD statement(s) have you added to your JCL?
-
- Posts: 41
- Joined: Fri Oct 01, 2010 9:43 pm
- Skillset: Assembler, COBOL, CICS, DB2, Pl/I, JCL and tableBASE
- Referer: google search
Re: LE is intercepting my dumps.
I have:
SYSOUT
SYSPRINT
SYSABEND
SYSUDUMP
Does the COBOL program execute in the same enclave as the calling Assembler module?
SYSOUT
SYSPRINT
SYSABEND
SYSUDUMP
Does the COBOL program execute in the same enclave as the calling Assembler module?
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: LE is intercepting my dumps.
Hello,
See if this will help:
http://publib.boulder.ibm.com/infocente ... ym1apc.htm
Do you know if the COBOL program was actually executing or was the 0c4 encountered while trying to activate that code?
Does anything change if you use static / dynamic call?
If you put a display as the first executable instruction n the called COBOL module, is it executed?
Is there any diagnostic info in any of those SYSOUTs?
See if this will help:
http://publib.boulder.ibm.com/infocente ... ym1apc.htm
Do you know if the COBOL program was actually executing or was the 0c4 encountered while trying to activate that code?
Does anything change if you use static / dynamic call?
If you put a display as the first executable instruction n the called COBOL module, is it executed?
Is there any diagnostic info in any of those SYSOUTs?
Hope this helps,
d.sch.
d.sch.
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: LE is intercepting my dumps.
Hint: LE is not intercepting "your" dump. It is intercepting "your" ABEND. If you check the books you should find a way to prevent LE from intercepting ABENDs.
By the way: if your Assembler code is fully LE compliant, and I'd bet it isn't, the LE dump should provide what you need.
By the way: if your Assembler code is fully LE compliant, and I'd bet it isn't, the LE dump should provide what you need.
-
- Posts: 41
- Joined: Fri Oct 01, 2010 9:43 pm
- Skillset: Assembler, COBOL, CICS, DB2, Pl/I, JCL and tableBASE
- Referer: google search
Re: LE is intercepting my dumps.
The abend appears to be within the COBOL module on a call to VSAM; I'm attempting to verify that.
You are right about the Assembler module not being LE compliant, I believe. It was written in 1995 and never implemented. I inherited it and am trying to get it to work, because a client asked for it now.
You are right about the Assembler module not being LE compliant, I believe. It was written in 1995 and never implemented. I inherited it and am trying to get it to work, because a client asked for it now.
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: LE is intercepting my dumps.
There are at least two possibilities here.
- The Assembler program is calling your Cobol program as though it were called directly from JCL. If that's the case it doesn't matter if your Assembler program is LE compliant.
- The Assembler program is calling the Cobol program as though the Cobol program is a subroutine. If this is the case your Assembler program must not only be LE compliant, it must establish an LE environment if it is not establish when it's called.
-
- Posts: 41
- Joined: Fri Oct 01, 2010 9:43 pm
- Skillset: Assembler, COBOL, CICS, DB2, Pl/I, JCL and tableBASE
- Referer: google search
Re: LE is intercepting my dumps.
The LE dump shows the COBOL program running in it's own enclave. I suspect that's a big part of the problem.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: LE is intercepting my dumps.
Hello,
The called module is possibly trying to use memory it doesn't "have".
The OPEN perhaps. . .?The abend appears to be within the COBOL module on a call to VSAM
The called module is possibly trying to use memory it doesn't "have".
Hope this helps,
d.sch.
d.sch.
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: LE is intercepting my dumps.
I seem to recall tha you needed to pass a run-time parm to let the dump process happen. The slash means give the remainder of the PARM to LE.
Code: Select all
//step1 EXEC PGM=asmpgm,PARM='your normal parm if any /TRAP(OFF)'
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.