A fix is available
APAR status
Closed as program error.
Error description
INITCHECK is incorrectly catching (twice) a move from the LINKAGE section to the LOCAL-STORAGE section and reporting that it is uninitialized. Sample Code: 000001 IDENTIFICATION DIVISION. 000002 PROGRAM-ID. X80573. 000003 DATA DIVISION. 000004 LOCAL-STORAGE SECTION. 000005 01 WORKING-FIELDS. 000006 10 W-OPTION PIC X(4). 000007 88 W-UPDATE VALUE 'UPDT'. 000008 88 W-LIST VALUE 'LIST'. 000009 LINKAGE SECTION. 000010 01 LINKAGE-FIELDS. 000011 05 LK-OPTION PIC X(4). 000012 PROCEDURE DIVISION USING LINKAGE-FIELDS. 000013 AA000-HOUSEKEEPING SECTION. 000014 MOVE LK-OPTION TO W-OPTION. 000015 GOBACK. The compiler returns: 14 IGYCB7311-W The data item 'W-OPTION' may be used at this statement before it is set. Same message on line: 14
Local fix
Compile with NOINITCHECK.
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V6.3 compiling * * programs with INITCHECK that MOVE data from * * a sender in the LINKAGE SECTION to a * * receiver in WORKING-STORAGE or * * LOCAL-STORAGE where the receiver is * * uninitialized before the MOVE. * **************************************************************** * PROBLEM DESCRIPTION: The compiler incorrectly issues message * * MSGIGYCB7311-W The data item 'XXXXX' * * may be used at this statement before * * it is set. for the receiver. * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * **************************************************************** The compiler's internal state incorrectly indicated that receivers of a MOVE statement with a LINKAGE SECTION sender should be considered when determining which data items were not initialized.
Problem conclusion
The compiler was corrected to ignore receivers of MOVE statements with LINKAGE SECTION senders when determining which data items were not initialized.
Temporary fix
Comments
APAR Information
APAR number
PH25226
Reported component name
ENT COBOL FOR Z
Reported component ID
5655EC600
Reported release
630
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-05-08
Closed date
2020-05-20
Last modified date
2020-06-01
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 IGYCLIBR IGYCLSTR IGYCLVL0 IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL IGYCOB2E IGYCOPI 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 UI69624
UP20/05/27 P F005
R631 PSY UI69625
UP20/05/27 P F005
R632 PSY UI69626
UP20/05/27 P F005
R63H PSY UI69627
UP20/05/27 P F005
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