APAR status
Closed as documentation error.
Error description
EDC5052S The application is running with AMODE=24 while the run-time library was installed above the line. The COBOL program contains an XML GENERATE or XML PARSE verb and/or the program was compiled with option DLL. An error may be seen within _cinit.
Local fix
Do not use the Binder option AMODE=24. Do not bind (with the Binder) other amode24 programs with your Enterprise COBOL programs if the COBOL program contains XML PARSE or GENERATE.
Problem summary
**************************************************************** * USERS AFFECTED: Customers using COBOL with one or * * more of the following: * * * * * The COBOL program is compiled with * * the DLL compiler option. * * * * * The COBOL program is compiled with * * the PGMNAME(LONGUPPER) or * * PGMNAME(LONGMIXED) compiler option. * * * * * The COBOL program contains an XML * * PARSE or XML GENERATE statement. * * * * * The COBOL program contains * * object-oriented syntax. * * * * * Your program uses a routine name that is * * the same as one in the C library such * * as ACCESS by Tesseract. * * * **************************************************************** * PROBLEM DESCRIPTION: Message EDC5052S when a COBOL program * * is in a load module that is AMODE(24) * * or the COBOL program is entered * * in AMODE(24), and the COBOL program has * * one or more of the following * * attributes: * * * * * The COBOL program is compiled with * * the DLL compiler option. * * * * * The COBOL program is compiled with * * the PGMNAME(LONGUPPER) or * * PGMNAME(LONGMIXED) compiler option. * * * * * The COBOL program contains an XML * * PARSE or XML GENERATE statement. * * * * * The COBOL program contains * * object-oriented syntax. * * * **************************************************************** * RECOMMENDATION: None. * **************************************************************** Some capabilities of COBOL require the C runtime. Starting with z/OS V1R2, the C runtime cannot be installed below the 16M line. Since the C runtime can no longer be installed below the 16M line, any COBOL program that uses a capability that requires the C runtime is required to be in a load module that is AMODE(31) and the COBOL program must be entered in AMODE(31).
Problem conclusion
Updates will be made to the Enterprise COBOL Programming Guide (SC27-1412-04) as stated below. In Chapter 16 "Compiling, linking, and running OO applications", the following will be added: Link-edit considerations: COBOL programs that contain object-oriented syntax must be link-edited with AMODE 31. In Chapter 17 "Compiler options", in the description of the DLL compiler option, replace the sentence: Specification of the DLL option requires that the RENT linkage-editor or binder option be used. with: Link-edit considerations: COBOL programs that are compiled with the DLL option must be link-edited with the RENT and AMODE(31) link-edit options. In Chapter 17 "Compiler options", in the description of the PGMNAME compiler option, add the following: Link-edit considerations: COBOL programs that are compiled with the PGMNAME(LONGUPPER) or the PGMNAME(LONGMIXED) option must be link-edited with AMODE 31. In Chapter 28 "Processing XML input", the following will be added: Link-edit considerations: COBOL programs that contain the XML PARSE statement must be link-edited with AMODE 31. In Chapter 29 "Producing XML output", the following will be added: Link-edit considerations: COBOL programs that contain the XML GENERATE statement must be link-edited with AMODE 31. PUBS CLOSING CODE: DEVCHNG
Temporary fix
Comments
APAR Information
APAR number
PK24280
Reported component name
LE COBOL LIB
Reported component ID
568819802
Reported release
707
Status
CLOSED DOC
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2006-05-02
Closed date
2006-05-26
Last modified date
2007-05-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
| SC27141204 |
Fix information
Applicable component levels
[{"Line of Business":{"code":"LOB16","label":"Mainframe HW"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG27M","label":"APARs - z\/VM environment"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"707"}]
Document Information
Modified date:
22 January 2021