A fix is available
APAR status
Closed as program error.
Error description
In IBM Developer for z/os 15.0.5, an SC04 abend in ZUnit occurs if the number of fields in a subroutine is reduced and the program is edited to have less fields and then replayed within the original testcase. When a test case is created with recorded data from a program that calls a subroutine with multiple fields and it is started after the generate/build, the test case is successful. If the program is changed and retested so that fewer fields are passed when the subprogram is called, but the expected number in the subprogram is from the original testcase, the playback file will terminate with an abend SC04 instead of presenting an error. Errors included in the JCL: com.ibm.etools.zunit.ui.actions.jobs.RunAsZUnitTestCaseJob com.ibm.etools.zunit.ui(FINE): submitJCLFile(): ReturnCode is Error:CC 0016 com.ibm.etools.zunit.ui.actions.jobs.RunAsZUnitTestCaseJob com.ibm.etools.zunit.ui(FINE): handleJobException() Started... com.ibm.etools.zunit.ui.actions.jobs.RunAsZUnitTestCaseJob com.ibm.etools.zunit.ui(FINE): handleJobException(): CRRZT0028E JES job with job name ZUNIT1 and job ID JOB12345 failed on remote system Host. Return information: CC 0016. at com.ibm.etools.zunit.ui.actions.jobs.RunAsZUnitTestCaseJob.submi tJCLFile(RunAsZUnitTestCaseJob.java:1289) at com.ibm.etools.zunit.ui.actions.jobs.RunAsZUnitTestCaseJob.run(R unAsZUnitTestCaseJob.java:311) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: 01.All users of DTR * * 02.All DTR users recording COBOL with * * file I/O capture * * 03.All DTR users requesting XML report * * format option * * 04.DTR users who capture VSAM file I/O * * and do the replay with Cobol V4 or * * Cobol V5+ program * * 05.All DTR users * * 06.sysprog * **************************************************************** * PROBLEM DESCRIPTION: 01.Abend 0C4 when playback has fewer * * parameters than the recording * * 02.Control file I/O record and replay * * using a configuration parameter * * 03.Invalid angle bracket provided in * * test results * * 04.Possible ABEND or infinite loop due * * to an invalid key check * * 05.S0C4 on NA308 on record/import with * * file I/O * * 06.Add support for shipping Dynamic * * Test Runner with IDzEE 16.0 and * * ADFz 4.0 * **************************************************************** 01.When the playback run has fewer parameters than the recording, the DTR makes an attempt to work with a zero address for the missing parameter 02.File I/O recording and replay are essentially always on if the re-linked version of SBZULLEP is in the search path. There is no method for turning off this feature except to remove that load library from the path. This enhancement will allow DTR / ZUnit to provide a configuration parameter that will dynamically turn off file I/O record & replay even if the DTR versions of the IGZ* file I/O routines are in the search path. 03.DTR XML report creation was not providing for the proper XML escape characters that were encountered within the data. This did not cause problems for the zUnit client which is able to handle them in data but it causes issues with XML parsers downstream. This fix adds code to escape the special characters {<, >, &, ', "} as {<, >, &, ', "} respectively. 04.For different file access method, user program (Cobol) may or may not provide a key value to the I/O interface. During the DTR replay, we check the key when matching the I/O input regradless if a key is provided by the user. This causes the INPT match failure, and further down causes infinite loop or ABEND. 05.SOC4 on NA308 on record/import 06.Add support for shipping Dynamic Test Runner with IDzEE 16.0 and ADFz 4.0
Problem conclusion
01.The fix will prevent the DTR from acting on a zero address when number of parameters do not match 02.Create new configuration option to allow file I/O to be disabled 03.Properly escape XML characters encountered data within the report output 04.Do not do key check when user logic does not provide the key to the Cobol File I/O interfaces 05.Corrected logic in configuration file parameter parsing 06.Add support for shipping Dynamic Test Runner with IDzEE 16.0 and ADFz 4.0
Temporary fix
Comments
APAR Information
APAR number
PH47894
Reported component name
DEV FOR Z/OS
Reported component ID
5724T0700
Reported release
100
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-07-11
Closed date
2022-10-11
Last modified date
2022-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
BZU1SMPE BZU2EXEC BZU2LAYR BZU2THIN BZU2TLYR BZU3ALOC BZU6DDEF BZUACAF@ BZUACP BZUADSMF BZUAEIN@ BZUAETR@ BZUAINIT BZUAIP2 BZUAIPI BZUAIPS BZUAIPX BZUALLOC BZUAPIPI BZUAPRC2 BZUAPRCA BZUAPRCD BZUAPRCX BZUAPRH@ BZUAPRS@ BZUARGID BZUARRS@ BZUARSMF BZUARST0 BZUARST1 BZUARST2 BZUARST3 BZUARST4 BZUARST5 BZUARST6 BZUARST7 BZUARST8 BZUARST9 BZUASSRT BZUASTB0 BZUASTB1 BZUASTB2 BZUASTB3 BZUASTB4 BZUASTB5 BZUASTB6 BZUASTB7 BZUASTB8 BZUASTB9 BZUASTC0 BZUASTC1 BZUASTC2 BZUASTC3 BZUASTC4 BZUASTC5 BZUASTC6 BZUASTC7 BZUASTC8 BZUASTC9 BZUASTMD BZUASTMP BZUASTUB BZUASTUC BZUAVRDT BZUBATCH BZUBCON@ BZUBCP BZUBDSC@ BZUBSRV@ BZUCBCBL BZUCBPL1 BZUCCDFN BZUCCINT BZUCCOLL BZUCDEFN BZUCF410 BZUCF420 BZUCF510 BZUCF520 BZUCF530 BZUCF540 BZUCF550 BZUCF560 BZUCF610 BZUCI410 BZUCI420 BZUCI510 BZUCI520 BZUCI530 BZUCI540 BZUCI550 BZUCI560 BZUCI610 BZUCICPT BZUCICSA BZUCICSL BZUCICSN BZUCICSS BZUCICST BZUCICSW BZUCICSX BZUCIDFN BZUCIDRI BZUCIDRP BZUCIDRR BZUCIDRS BZUCIDRT BZUCO410 BZUCO420 BZUCO510 BZUCO520 BZUCO530 BZUCO540 BZUCO550 BZUCO560 BZUCO610 BZUCODES BZUCPLTI BZUCPLTS BZUCPLTT BZUCRECS BZUCRECT BZUCSD BZUCSTUB BZUDB2CA BZUDB2CP BZUDB2CV BZUDB2PA BZUDB2PP BZUDB2PV BZUDB2ST BZUDCP BZUDLAYR BZUDTHIN BZUDTLYR BZUDYNAL BZUECP BZUEIBPL BZUESPIE BZUESPR@ BZUESTAE BZUGETEP BZUGTARG BZUGTMEM BZUHFIO@ BZUHFIOH BZUHFIOP BZUHPRN@ BZUII410 BZUII420 BZUII510 BZUII520 BZUII530 BZUII540 BZUII550 BZUII560 BZUII610 BZUIMSSB BZUIMSSE BZUIMSSF BZUIMSTR BZUIMSVN BZUIMSVR BZUINCL BZUIO410 BZUIO420 BZUIO510 BZUIO520 BZUIO530 BZUIO540 BZUIO550 BZUIO560 BZUIO610 BZUISVI0 BZUITERC BZUITERP BZUJFIOH BZUJFIOP BZUKFIO@ BZUKFIOH BZUKFIOP BZULCEE BZULDB2 BZULEOPT BZULFIOH BZULFIOP BZULIMS BZULLE BZULMQ BZUMCP BZUMETA BZUMSGEN BZUPBCP BZUPBMP BZUPDB2 BZUPDCP BZUPDLI BZUPECP BZUPLAY BZUPMCP BZUPPLAY BZUPRH00 BZUPRH0@ BZURCP BZURI410 BZURI420 BZURI510 BZURI520 BZURI530 BZURI540 BZURI550 BZURI560 BZURI610 BZURO410 BZURO420 BZURO510 BZURO520 BZURO530 BZURO540 BZURO550 BZURO560 BZURO610 BZURPLAY BZURRCP BZURTCP BZURUN BZUSCFG BZUSCP BZUSETUP BZUSLAYR BZUSTLYR BZUSUDSN BZUSYSIN BZUTCP BZUTRACE BZUUFIOH BZUUFIOP BZUUMODC BZUUMODD BZUUMODI BZUUMODL BZUVERS BZUVFIOH BZUVFIOP BZUVRM
Fix information
Fixed component name
DYNAMIC TEST RU
Fixed component ID
5724T0763
Applicable component levels
R100 PSY UI82790
UP22/10/15 P F210
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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"100"}]
Document Information
Modified date:
01 November 2022