View previous topic :: View next topic
|
Author |
Message |
jeyaseelan347 Warnings : 1 New User
Joined: 05 Sep 2008 Posts: 37 Location: Chennai
|
|
|
|
Hi,
My cobol program is calling 2 cobol and 3 assembler program as a sub program. The Cob to cob call is dynamic and cob to asm call is Static. while running the cobol program I am getting below error. can anyone please let me know why?
EDC5052S The application is running with AMODE=24 while the run-time library was installed above the line. The traceback information could not be determined. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
A Google search of EDC5052S finds:
Quote: |
EDC5052S when dynamically invoking COBOL program in 24 bit mode.
Technote (troubleshooting)
Problem(Abstract)
User received error message EDC5052S when calling a COBOL program in 24 bit mode.
Resolving the problem
A program written in C was accidentally brought into the application during the bind step. C does not support running AMODE 24 applications and issues this message when C is called for initialization.
Although this problem occurred when C was unintentionally linked into the application there are other instances when C will be called for initialization in a pure COBOL application.
For example, COBOL requires the C/C++ runtime in the following cases:
* COBOL program contains an XML PARSE or an XML GENERATE statement.
* COBOL program is compiled with one of the compiler options: DLL, PGMNAME(LONGUPPER), PGMNAME(LONGMIXED).
* The program contains Object Oriented COBOL syntax.
See APAR PK24280 for future updates to documentation. Note PK19616 documents and instance where EDC5052S is issued in error. |
Check your compile options -- it sounds like they may be causing your problem. If not, you may need to open an issue with IBM. |
|
Back to top |
|
|
jeyaseelan347 Warnings : 1 New User
Joined: 05 Sep 2008 Posts: 37 Location: Chennai
|
|
|
|
HI Robert,
I have fix that issue. Now I am facing the SOC4 issue. The getting the below info in my IDIREPRT.
Event Fail Module Program EP
# Type Point Name Name Name Event Location (*)
-- ------------ ----- -------- -------- -------- ----------------------
1 Call aaaaaa aaaaaa aaaaaa P+5008 E+5008
2 Call aaaaaa bbbbbb n/a P+126
3 Abend S0C4 ***** aaaaaa bbbbbb n/a P+44
I am getting SOC4 in the CALL to subprogram 'bbbbbb'. Can you please help me? |
|
Back to top |
|
|
|