COBOL

  • 1.  EDCPRLK converting from 4.2 to 6.4

    Posted Mon January 30, 2023 09:18 AM
    How to convert a compile from 4.2 to 6.4 that uses EDCPRLK. Specifically for Precisely Finalist for z/OS version 10. 



    ------------------------------
    Glen Gasior
    ------------------------------


  • 2.  RE: EDCPRLK converting from 4.2 to 6.4

    Posted Tue January 31, 2023 07:22 AM
    Hi Glen,

    With COBOL 5.1 and later, you can't use the prelinker, minimally because COBOL outputs GOFF (Generalized Object File Format) format object code that the prelinker doesn't understand. You also MUST store the eventual executable in a PDSE.
    You also need to ensure that no prelinked code is combined with COBOL code. For example, if you're statically linking C/C++ code to COBOL code, you need to feed the C/C++ object code directly into the bind, without prelinking it first. The prelinker simulates some features that are supported natively in program object format executables, and the two implementations are incompatible.

    Bernie

    ------------------------------
    Bernie Rataj
    Senior Software Developer
    IBM Canada Ltd.
    Markham ON Canada
    https://www.ibm.com/products/cobol-compiler-zos
    https://www.ibm.com/products/pli-compiler-zos
    ------------------------------