IBM Support

PH50296: 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.4 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.x 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

    PH50296

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    640

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-19

  • Closed date

    2022-10-20

  • Last modified date

    2022-11-01

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

    PH49504

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

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 IGYCJBLD IGYCJGEN 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

  • R640 PSY UI82930

       UP22/10/28 P F210

  • R641 PSY UI82931

       UP22/10/28 P F210

  • R642 PSY UI82932

       UP22/10/28 P F210

  • R64H PSY UI82933

       UP22/10/28 P F210

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":"640","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023