IBM Support

PH05855: NEW FUNCTION: Provide a compiler option to treat COBOL programs as having the PROGRAM-ID IS INITIAL disignation

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Users Affected:  Users of COBOL V6.2 who want to have programs
    behave as if the IS INITIAL clause was specified
    in the PROGRAM-ID paragraph without making source code changes.
    This APAR delivers a new compiler option, INITIAL.  When the
    compiler option INITIAL is in effect, the program will behave
    as if the IS INITIAL clause had been added to the PROGRAM-ID
    paragraph. Most noticeably, data items with VALUE clauses will
    be re-set to their initial values.
    
    INITIAL
    Specifies that when program-name is called, program-name and
    any programs contained (nested) within it are placed in their
    initial state.
    
    Note: INITIAL (and the IS INITIAL clause) does not have any
    effect on data items that do not have VALUE clauses.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V6.2 who want a    *
    *                 new compiler option to get IS INITIAL        *
    *                 behavior without having to change the        *
    *                 source program.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Some users would like the behavior of   *
    *                      the IS INITIAL clause of the            *
    *                      PROGRAM-ID  paragraph for a program,    *
    *                      but they do not want to change the      *
    *                      source program.                         *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    There is no way to get IS INITIAL behavior without changing the
    source program.
    

Problem conclusion

Temporary fix

Comments

  • A new compiler option, INITIAL, is added to allow users to get
    a program that has initial values in data items each time the
    program is called, without having to add the IS INITIAL clause
    to their PROGRAM-ID paragraph, and without having to use
    dynamic CALL and CANCEL.
    

APAR Information

  • APAR number

    PH05855

  • 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-11-28

  • Closed date

    2019-03-20

  • Last modified date

    2019-04-02

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

  • 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 IGYCLIBH IGYCLIBO IGYCLIBR IGYCLSTR IGYCLVL0
    IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOB2  IGYCOB2E
    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
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R620 PSY UI62019

       UP19/03/29 P F903

  • R621 PSY UI62020

       UP19/03/29 P F903

  • R622 PSY UI62021

       UP19/03/29 P F903

  • R62H PSY UI62022

       UP19/03/29 P F903

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