IBM Support

PH49504: NEW FUNCTION: Option CONDCOMP(SKIPSOURCE) will exclude lines in false conditional compilation branches from source listing

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • The compiler option CONDCOMP(SKIPSOURCE) is provided to exclude
    lines of code in false conditional compilation branches from the
    source listing. CONDCOMP(NOSKIPSOURCE) is the default, which
    continues the prior behavior of showing excluded lines as
    comments.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.3 compiling      *
    *                 programs with conditional compilation        *
    *                 directives who want lines of code in false   *
    *                 conditional compilation branches to be       *
    *                 excluded from the compiler listing.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: New function: A new option,             *
    *                      CONDCOMP(SKIPSOURCE|NOSKIPSOURCE), is   *
    *                      provided to give users a way to exclude *
    *                      code in false conditional compilation   *
    *                      branches from the compiler listing      *
    *                      instead of appearing as commented out   *
    *                      lines.                                  *
    *                                                              *
    *                      The default is CONDCOMP(NOSKIPSOURCE)   *
    *                      which preserves existing behaviour.     *
    ****************************************************************
    * RECOMMENDATION: Apply the IBM-provided PTF.                  *
    ****************************************************************
    The design of conditional compilation had false branches of code
    visible as commented out in the listing by default. No option
    was given to omit these compiled out lines from the listing.
    

Problem conclusion

Temporary fix

Comments

  • The compiler was updated to provide the
    CONDCOMP(SKIPSOURCE|NOSKIPSOURCE) option. This option allows
    users to control the inclusion/omission of compiled out lines of
    code in the listing.
    
    For a more detailed description of changes related to the
    addition of the new CONDCOMP option, please refer to the
    following sections in the Enterprise COBOL for z/OS 6.3 IBM
    Documentation online:
    
    1. Programming Guide -> Compiling and debugging your program
         -> Compiler Options -> CONDCOMP
    
    2. Customization Guide -> Enterprise COBOL compiler options
         -> CONDCOMP
    

APAR Information

  • APAR number

    PH49504

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    630

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-14

  • Closed date

    2022-09-27

  • Last modified date

    2022-10-19

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

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

    PH50296

Modules/Macros

  • IGY8RWTU IGYCASMB IGYCCBE  IGYCCCRT IGYCCICS IGYCCSRV IGYCDGEN
    IGYCDIAG IGYCDMAP IGYCEN$0 IGYCEN$1 IGYCEN$2 IGYCEN$3 IGYCEN$4
    IGYCEN$5 IGYCEN$8 IGYCEN$D IGYCEN$R IGYCFGEN IGYCFREE IGYCINIT
    IGYCJA$0 IGYCJA$1 IGYCJA$2 IGYCJA$3 IGYCJA$4 IGYCJA$5 IGYCJA$8
    IGYCJA$D IGYCJA$R IGYCLIBR IGYCLSTR IGYCLVL0 IGYCLVL1 IGYCLVL2
    IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOPI  IGYCOPT  IGYCOSCN IGYCPGEN
    IGYCRCTL IGYCRDPR IGYCRDSC IGYCREAL IGYCRWT  IGYCSCAN IGYCSIMD
    IGYCUE$0 IGYCUE$1 IGYCUE$2 IGYCUE$3 IGYCUE$4 IGYCUE$5 IGYCUE$8
    IGYCUE$D IGYCUE$R IGYCXREF IGYDRV   IGYEQCWI IGYMSGE  IGYMSGK
    IGYMSGT  IGYQCBE  IGYQSPLT IGYZQEN6 IGYZQENU IGYZQJP6 IGYZQJPN
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R630 PSY UI82565

       UP22/10/01 P F209

  • R631 PSY UI82566

       UP22/10/01 P F209

  • R632 PSY UI82567

       UP22/10/01 P F209

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023