APAR status
Closed as program error.
Error description
IBM Developer for z/OS - IDz - v15, attempt to open the zUnit test data editor fails with error: 2. parm_HELLO2.cbl is expected to be a complete COBOL program, based on its file extension. You can change the file extension support by going into the "More COBOL options" tab of the COBOL importer preferences page (Window -> Preferences -> Importer -> COBOL). parm_HELLO2.cbl(10) IGYGR1056-E "VALUE" literal "'OLI00000701 VIER !'" exceeded the length specified in the "PICTURE" definition. The literal was truncated to the "PICTURE" definition length. at com.ibm.etools.zunit.batch.importer.CobolLanguageImportHelper. processParameterLanugageElements(CobolLanguageImportHelper.java: 92) Steps to reproduce: The error can be reproduced with the following program: For example with: IDENTIFICATION DIVISION. 00000100 PROGRAM-ID. HELLO2. 00000200 ******************************* ********************************* 00000300 / 00000400 DATA DIVISION. 00000500 WORKING-STORAGE SECTION. 00000600 01 NAME1 PIC X(20). 00000700 88 OLIVIER VALUE 'OLI00000701 - 'VIER !'. 00000702 00000800 LINKAGE SECTION. 00000801 01 MY-ARG PIC X(01). 00000802 00000805 PROCEDURE DIVISION USING MY-ARG. 00000806 MAIN. 00001100 DISPLAY "Hello " NAME1 00001200 DISPLAY "WELCOME TO COBOL " MY-ARG 00001300 GOBACK. 00001400 00001500 END PROGRAM HELLO2. 00001600
Local fix
There is no known workaround at this time.
Problem summary
Error occurs when trying to open the zUnit test case editor, If the VALUE clause definition of a data item spans multiple lines and there is a comment after column 72 in the middle.
Problem conclusion
Change so that characters after column 72 are not acquired when acquiring literal values.
Temporary fix
Comments
APAR Information
APAR number
PH33067
Reported component name
DEV FOR Z/OS
Reported component ID
5724T0700
Reported release
F00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-01-05
Closed date
2021-03-19
Last modified date
2021-03-19
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DEV FOR Z/OS
Fixed component ID
5724T0700
Applicable component levels
[{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSQ2R2","label":"Rational Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"F00"}]
Document Information
Modified date:
20 March 2021