Fixes are available
Rational Developer for System z Fix Pack 2 (9.5.1.1) for 9.5.1.
Rational Developer for System z Fix Pack 3 (9.5.1.1) for 9.5.1.
Rational Developer for System z Fix Pack 4 (9.5.1.4) for 9.5.1.
Rational Developer for System z Fix Pack 5 (9.5.1.5) for 9.5.1.
Rational Developer for System z Fix Pack 5 (9.5.1.6) for 9.5.1.
Rational Developer for z Systems Fix Pack 7 (9.5.1.7) for 9.5.1.
Rational Developer for z Systems Fix Pack 8 (9.5.1.8) for 9.5.1.
Rational Developer for z Systems Fix Pack 9 (9.5.1.9) for 9.5.1.
Rational Developer for z Systems Fix Pack 10 (9.5.1.10) for 9.5.1.
Rational Developer for z Systems Fix Pack 11 (9.5.1.11) for 9.5.1.
Rational Developer for z Systems Fix Pack 12 (9.5.1.12) for 9.5.1.
APAR status
Closed as program error.
Error description
In RDz v9.5.1 test data import for zUnit of a Cobol program fails if the Cobol program contains a REDEFINES structure. Scenario: 1. In a Cobol program have a structure: 01 DATA-REC. 05 WS-EVS-DOB. 10 WS-DOB-YYYY PIC X(4). 10 WS-DOB-MM PIC X(2). 10 WS-DOB-MM-N REDEFINES WS-DOB-MM PIC 9(2). 10 FILLER PIC X(74). 2. Launch zUnit using a new generation configuration file. 3. Specify the data file as input, select to import records. 4. Select to generate the test case, select to have zUnit generate a test data file. 5. Following error message is shown: CRRZT0112E An error occurred while validating test data with schema. Specified test data expression is not supported: cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbl:WS_DOB_MM_N'. One of '{"http://www.ibm.com/zUnit/Testdata/1.0.1.0/DATA_REC":fill_0}' is expected.
Local fix
Do not use REDEFINES in the structure of the record to be imported
Problem summary
zUnit Test data import set data in all layouts, so schema validation error occured.
Problem conclusion
In zUnit test data setting, one layout should be selected to set test data from multiple layouts. zUnit has been corrected so that imported data in set only in redefined base structure. The problem listed in this APAR has been resolved with IBM Rational Developer for z Systems V9.5.1.2 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Temporary fix
Comments
APAR Information
APAR number
PI69148
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
911
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-13
Closed date
2016-10-27
Last modified date
2016-10-27
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
RATL DEV FOR SY
Fixed component ID
5724T0700
Applicable component levels
R951 PSY
UP
Document Information
Modified date:
18 October 2021