PM92423: COMPILER ISSUES DATASET ALREADY OPENED ERROR

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Starting with V1R13 the compiler issues an error:
    
    
     10.24.40 JOB28017  $HASP708 CKT6043C CPATH    OPEN FAILED
        500             RC=03 DATA SET ALREADY OPENED
        500             DSNAME=CKT6043.CKT6043C.JOB28017.D0000101.?
    
    The problem is triggered when compiler attempts to
    simultaneously parse the dataset that contains compiler options
    dataset and instream dataset as in extract below:
    
    ...
    ...
    //COMPILE  EXEC PGM=CCNDRVR,PARM=('OPTFILE(DD:CPATH)')
    //STEPLIB    DD    DSNAME=CEE.SCEERUN,DISP=SHR
    //           DD    DSNAME=CEE.SCEERUN2,DISP=SHR
    //           DD    DSNAME=CBC.SCCNCMP,DISP=SHR
    //SYSIN    DD *
    int main() { return 0;}
    /*
    //SYSPRINT DD  SYSOUT=*
    //SYSOUT   DD  SYSOUT=*
    //SYSCPRT  DD  SYSOUT=*
    //*************** OPTIONS is an optfile ******************
    //COMPILE.CPATH DD  DSN=USERNAME.OPTFILE(OPTIONS),DISP=SHR
    //*************** options are also passed via instream dd
    //         DD  *
     SEARCH('CEE.SCEEH.+'),
     <... LIST OF COMPILER OPTIONS ...>
    //
    

Local fix

  • Place all the compiler options in either JCL instream dataset
    (DD *) or JCL DSN dataset (DD DSN=...).
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: C/C++ users that allocate options file as    *
    *                 an instream data set and override LRECL      *
    *                 with a value that is not 80.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When an options file is allocated as an *
    *                      instream dataset with LRECL=254 (or     *
    *                      any value other than 80) the C or C++   *
    *                      compile fails with the following error: *
    *                      RC=03 DATA SET ALREADY OPENED           *
    *                      IEC141I 013-C0,IGG0199G                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM92423

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    770

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-04

  • Closed date

    2013-07-04

  • Last modified date

    2013-09-19

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

    PM87553

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

    UK95619 PM97486

Modules/Macros

  •    CCNECICS CCNECWI  CCNEDSCT CCNEDWRT CCNED1C0
    CCNEFILT CCNEHIFC CCNEMDEP CCNEOPTP CCNEP    CCNEPP   CCNETBY
    CCNMSGE  CCNMSGT
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R770 PSY UK95619

       UP13/07/11 P F307

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.



Rate this page:

(0 users)Average rating

Document information


More support for:

z/OS family

Software version:

7.7

Operating system(s):

z/OS

Reference #:

PM92423

Modified date:

2013-09-19

Translate my page

Machine Translation

Content navigation