IBM Support

PI13612: PROVIDE SUPPORT FOR IBM ENTERPRISE COBOL V5.1 IN DB2 V10 AND V11.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSNTEJ2C abends with COBOL V5.1 in DB2 V11 and DB2 V10.
    There are missing assorted DD cards when running program
    IGYCRCTL. When the appropriate DD cards are added, the job
    then fails on write to hlq.RUNLIB.LOAD since it was PDS.
    Recreating this file as PDSE gets job to run successfully
    but DSNTEJ5C abends later on as it expects RUNLIB.LOAD to be
    a PDS.
    .
    APAR will add the functionality for V5.1 to be supported.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS and DB2 11 for z/OS      *
    *                 customers who use IBM Enterprise COBOL       *
    *                 for z/OS Version 5.1 are affected by this    *
    *                 change.                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 for z/OS installation support for   *
    *                      IBM Enterprise COBOL for z/OS Version   *
    *                      5.1 (COBOL V5.1).                       *
    *                                                              *
    *                      One or more of the following errors     *
    *                      occurs when using COBOL V5.1 to prepare *
    *                      DB2 COBOL programs:                     *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNHICOB JCL proc fails in *
    *                         proc step COB (program IGYCRCTL)     *
    *                         with return code 106 due to abend    *
    *                         0106 with reason code 0B and these   *
    *                         error messages:                      *
    *                           IEC130I SYSMDECK DD STATEMENT      *
    *                                   MISSING                    *
    *                           IGYSI5013-U  An error occurred     *
    *                                   while attempting to open   *
    *                                   file "SYSMDECK".           *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNHICOB JCL proc fails in *
    *                         proc step COB (program IGYCRCTL)     *
    *                         with return code 16 and these error  *
    *                         messages:                            *
    *                           IGYOS5000-U The compilation was    *
    *                                   terminated due to an       *
    *                                   uncorrectable error        *
    *                                   condition.                 *
    *                           IGYOS5124-U  A required compiler   *
    *                                   work file, "SYSUT8  ",     *
    *                                   was not allocated.         *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNHICOB JCL proc fails in *
    *                         proc step LKED (program IEWL) with   *
    *                         return code 12 and this error        *
    *                         message:                             *
    *                           IEW2606S 4B39 MODULE INCORPORATES  *
    *                                   VERSION 3 PROGRAM OBJECT   *
    *                                   FEATURES AND CANNOT BE     *
    *                                   SAVED IN LOAD MODULE       *
    *                                   FORMAT.                    *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNH program preparation   *
    *                         CLIST fails with return code 12 due  *
    *                         to abend 0C03 with reason code 4 and *
    *                         these error messages:                *
    *                           IKJ56641I IGYCRCTL ENDED DUE TO    *
    *                                   ERROR+                     *
    *                           IKJ56641I SYSTEM ABEND CODE C03    *
    *                                   REASON CODE 00000004       *
    *                           IEC130I SYSMDECK DD STATEMENT      *
    *                                   MISSING                    *
    *                           IGYSI5013-U  An error occurred     *
    *                                   while attempting to open   *
    *                                   file "SYSMDECK".           *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNH program preparation   *
    *                         CLIST fails with return code 16 and  *
    *                         these error messages:                *
    *                           DSNH740I ======= IBMCOB FINISHED,  *
    *                                   RC =  16 =======           *
    *                           DSNH759I DSNH TERMINATING, IBMCOB  *
    *                                   RC = 16                    *
    *                           IGYOS5000-U The compilation was    *
    *                                   terminated due to an       *
    *                                   uncorrectable error        *
    *                                   condition.                 *
    *                           IGYOS5124-U  A required compiler   *
    *                                   work file, "SYSUT8  ",     *
    *                                   was not allocated.         *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNH program preparation   *
    *                         CLIST with option PRELINK(YES)       *
    *                         fails with return code 12 and        *
    *                         these error messages:                *
    *                           DSNH740I ======= PRELINK FINISHED, *
    *                                   RC =  12 =======           *
    *                           DSNH759I DSNH TERMINATING, PRELINK *
    *                                   RC = 12                    *
    *                           SEVERE ERROR EDC4000: Unable to    *
    *                                   open DD:SYSIN.             *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNH program preparation   *
    *                         CLIST with option PRELINK(NO)        *
    *                         fails with return code 16 and        *
    *                         these error messages:                *
    *                           DSNH740I ======= LINK FINISHED,    *
    *                                   RC =  16 =======           *
    *                           DSNH759I DSNH TERMINATING, LINK    *
    *                                   RC = 16                    *
    *                         due to system abend 0C4, reason code *
    *                         10 in z/OS binder module IEWBIND.    *
    *                                                              *
    *                       * Preparation of DB2 COBOL programs    *
    *                         using the DSNH program preparation   *
    *                         CLIST fails with return code 12 and  *
    *                         these error messages:                *
    *                           DSNH740I ======= LINK FINISHED,    *
    *                                   RC =  12 =======           *
    *                           DSNH759I DSNH TERMINATING, LINK    *
    *                                   RC = 12                    *
    *                           IEW2606S 4B39 MODULE INCORPORATES  *
    *                                   VERSION 3 PROGRAM OBJECT   *
    *                                   FEATURES AND CANNOT BE     *
    *                                   SAVED IN LOAD MODULE       *
    *                                   FORMAT.                    *
    ****************************************************************
    * RECOMMENDATION: Apply the fixing PTF for this APAR.          *
    ****************************************************************
    DB2 for z/OS installation provides a number of JCL procs for
    preparing DB2 application programs with a variety of programming
    languages. In particular, the DSNHICOB proc contains steps for
    precompiling and compiling DB2 COBOL programs using IBM
    Enterprise COBOL and further steps for prelinking the object
    module and link-editing the load module.
    
    DB2 for z/OS also provides the DSNH CLIST for preparing
    application programs. DSNH calls another CLIST, DSNHC, to
    perform the compilation phase of the preparation.
    
    The arrival of IBM Enterprise COBOL for z/OS Version 5.1
    (COBOL V5.1) impacts DSNHICOB, DSNH,and DSNHC as follows:
     * A library-processing output file (SYSMDECK) DD must now be
       allocated. The SYSMDECK file receives the output from library
       processing, that is, the expansion of COPY, BASIS, REPLACE,
       and EXEC SQL INCLUDE statements. Without this DD statement,
       the COBOL V5.1 compiler terminates with either
       - abend code 0106 and reason code 0B
       - abend code 0C03 and reason code 4
       and these messages:
         IEC130I SYSMDECK DD STATEMENT MISSING
         IGYSI5013-U  An error occurred while attempting to open
            file "SYSMDECK".
    
     * Additional system utility DDs, SYSUT8 - SYSUT15, must now be
       allocated. Otherwise, the COBOL V5.1 compiler terminates
       with return code 16 and these messages:
         IGYOS5000-U The compilation was terminated due to an
            uncorrectable error condition.
         IGYOS5124-U  A required compiler work file, "SYSUTx  ",
            was not allocated.
       where 'x' is 8, 9, 10, 11, 12, 13, 14, or 15.
    
     * The DSNHC CLIST must now pass object code from the COBOL
       compiler to the prelinker or link-editor in a work file data
       set that is defined with a fixed block record format and a
       logical record length of 80. Otherwise:
       - if the PRELINK(YES) option was specified, the DSNH CLIST
         will terminate with return code 12 and severe error
         EDC4000 (Unable to open DD:SYSIN)
       - if the PRELINK(NO) option was specified, the DSNH CLIST
         will terminate with return code 16 due to system abend 0C4
         reason 10 by the z/OS binder.
    
     * Executables must be program objects. Prelinking and link-
       editing of load modules are no longer supported. Program
       objects must reside in a PDSE. Otherwise, the z/OS binder
       terminates with return code 12 and this error message
       message:
         IEW2606S 4B39 MODULE INCORPORATES VERSION 3 PROGRAM OBJECT
            FEATURES AND CANNOT BE SAVED IN LOAD MODULE FORMAT.
    

Problem conclusion

  • This APAR provides the following DB2 10 and DB2 11 installation
    changes in support of COBOL V5.1:
     * The DSNHC CLIST now allocates the additional DD statements
       needed by COBOL V5.1. It is also corrected to use a work
       file data set defined as RECFM=FB,LRECL=80 to pass object
       code from the COBOL compiler to the prelinker or link-editor.
    
     * Panel DSNTIPU (DATA SET NAMES PANEL 2) now provides a field,
       COBOL LE PRELINKER PHASE, for indicating whether COBOL
       program preparation should include prelinking. Valid settings
       are:
       - YES: This setting is acceptable for supported versions of
              IBM COBOL prior to COBOL V5.1. It causes the DB2
              installation CLIST to continue to customize jobs as
              it did prior to this APAR.
              ==> This is the default setting
       - NO : This setting is required for COBOL V5.1 and acceptable
              for prior, supported versions. It causes the DB2
              installation CLIST, during editing of the DSNHICOB JCL
              proc in job DSNTIJMV, to insert the additional DD
              statements needed by COBOL V5.1 to the compiler proc
              step and to remove the prelinker proc step entirely.
              The SYSLMOD DD of the LKED proc step must allocate a
              PDSE. Also, during editing of IVP job DSNTEJ5C, the
              installation CLIST will change the DSNH (program
              preparation) CLIST PRELINK option setting from YES to
              NO.
    
     * Job DSNTIJIN now defines the DB2 sample application load
       library, prefix.RUNLIB.LOAD, as a PDSE rather than a PDS.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI13612

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-13

  • Closed date

    2014-06-11

  • Last modified date

    2014-07-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI18766 UI18767

Modules/Macros

  • DSN@XAZP DSNHC    DSNTIDXA DSNTIDXB DSNTIJIN
    DSNTINST DSNTINS1 DSNTINS2 DSNTINS3 DSNTIPU  DSNTXAZP
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI18766

       UP14/06/27 P F406

  • RB10 PSY UI18767

       UP14/06/27 P F406

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 July 2014