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.
Joined: 06 Jun 2008 Posts: 8189 Location: East Dubuque, Illinois, USA
A Google search of EDC5052S finds:
EDC5052S when dynamically invoking COBOL program in 24 bit mode.
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.