IBM Support

PI97621: NEW OPTIONS ALOWCOPYLOC AND ALOWDEFINE WILL BE ADDED TO THE COMPILER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • ERROR DESCRIPTION:Ø
    New options ALOWCOPYLOC and ALOWDEFINE will be added to the
    compiler
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.2 who would      *
    *                 like to prevent use of the COPYLOC and/or    *
    *                 DEFINE compiler options via installation     *
    *                 control.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: There is currently no way to block use  *
    *                      of the COPYLOC and DEFINE compiler      *
    *                      options via installation control.       *
    ****************************************************************
    * RECOMMENDATION: Applied the provided PTF.                    *
    ****************************************************************
    When the COPYLOC and DEFINE options were added to the compiler,
    there was no mechanism provided to limit their usage.
    

Problem conclusion

Temporary fix

Comments

  • New Function:  The V6.2 Enterprise COBOL compiler was updated
    to include two new installation control options, ALOWCOPYLOC
    and ALOWDEFINE, which allow an installation administrator to
    decide whether their compiler users are permitted to use the
    COPYLOC and/or DEFINE compiler options.
    
    +-------------------------------------------------------------+
    | Start of changes for:                                       |
    | Enterprise COBOL for z/OS Customization Guide, V6.2         |
    |   SC27-8712-01                                              |
    
    Chapter 2: Enterprise COBOL compiler Options
    
    Add a new entry for ALOWCOPYLOC.
    
    ---------------------------------------------------------------
    
    ALOWCOPYLOC
    
    ALOWCOPYLOC affects whether COPYLOC options can be used when
    compiling COBOL programs.
    
    Syntax
    
                     .-YES-.
    >>-ALOWCOPYLOC=--+-NO--+-------------------------------------><
    
    Default
        ALOWCOPYLOC=YES
    YES
        Allows the specification of COPYLOC options when compiling
        COBOL programs.
    NO
        Diagnoses the specification of any COPYLOC options as an
        error.
    
    Note
    
    ALOWCOPYLOC cannot be overridden at compile time because it
    cannot be included in the PROCESS (or CBL) statement.
    
    If your installation requirements do not allow COPYLOC compiler
    options to be specified in a source program, specify
    ALOWCOPYLOC=NO.
    
    ---------------------------------------------------------------
    
    Add a new entry for ALOWDEFINE
    
    ---------------------------------------------------------------
    
    ALOWDEFINE
    
    ALOWDEFINE affects whether DEFINE options can be used when
    compiling COBOL programs.
    
    Syntax
    
                    .-YES-.
    >>-ALOWDEFINE=--+-NO--+--------------------------------------><
    
    Default
        ALOWDEFINE=YES
    YES
        Allows the specification of DEFINE options when compiling
        COBOL programs.
    NO
        Diagnoses the specification of any DEFINE options as an
        error.
    
    Note
    
    ALOWDEFINE cannot be overridden at compile time because it
    cannot be included in the PROCESS (or CBL) statement.
    
    If your installation requirements do not allow DEFINE compiler
    options to be specified in a source program, specify
    ALOWDEFINE=NO.
    | End of changes for:                                         |
    | Enterprise COBOL for z/OS Customization Guide, V6.2         |
    |   SC27-8712-01                                              |
    +-------------------------------------------------------------+
    

APAR Information

  • APAR number

    PI97621

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    620

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-04

  • Closed date

    2018-05-28

  • Last modified date

    2018-06-04

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

    PI95970

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

Modules/Macros

  • IGY8RWTU IGYCASMB IGYCCBE  IGYCCCRT IGYCCICS IGYCCSRV IGYCDGEN
    IGYCDIAG IGYCDMAP IGYCDOPT 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 IGYCLIBH IGYCLIBO IGYCLIBR IGYCLSTR
    IGYCLVL0 IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOB2
    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  IGYZQDRV
    IGYZQENU IGYZQJPN
    

Publications Referenced
SC27871201    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R620 PSY UI56120

       UP18/06/01 P F805

  • R621 PSY UI56121

       UP18/06/01 P F805

  • R622 PSY UI56122

       UP18/06/01 P F805

  • R62H PSY UI56123

       UP18/06/01 P F805

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
12 December 2023