- IDZ 16.0.6 Client
- ZUNIT Backend V15
- zAppBuild June Release supporting zunit testing
This is a very simple batch application calculating the retirement date.
retirement-calc/cobol:
EBUD0RUN.cbl
|__> EBUD01.cbl
|_> EBUD02.cbl
|_> EBUD03.cbl
To invoke the application there are a couple of jcls
| JCL | function |
|---|---|
| retirementCalculator/jcls/EBUD0RUN.jcl | invokes main pgm EBUD0RUN and passes the input variables for the calulation through SYSIN |
| retirementCalculator/jcls/RUNZUNIT.jcl | Sample jcl to invoke zUnit Runner (at a later time) |
- Prepare your IDZ environment and clone this repository
- Build the application programs using DBB User Build (on zTEC 201, you can use
/var/dbb/dbb-zappbuild/build.groovy) - Verify, that the application works as expected using the supplied EBUD0RUN.jcl
- Please make sure, that you are using the BZU cfg
- Select that IDZ prompts you for the zUnit Test configuration data

- Import the Remote Property Group for zUnit to IDZ and assign it as the default property group for the z/OS files https://ibm.box.com/s/y1y328afi5sbtq6bs5lo19bh0ntykhmg
-
Open the test data editor from the zUnit Context menu on
EBUD01.cbl -
Select the existing zUnit Test configuration data
-
Start recording the BATCH Job
-
Select the remote system
-
Select the local JCL EBUD0RUN from this git repository
-
Submit through the
Record Jobbutton -
Compile and link the generated test case using DBB User Build
- Select the bzucfg file, and run a userbuild on the test case

- Alternatively, run the Unit Test from the zUnit Context Menu.

With IDZ 15.0 GA code
- The bzu report file seems to be written in the wrong encoding?
With IDZ 14.2.3 GA code
- the playback file is not automatically imported into local project (I have manually copied it, and renamed it)
- Cannot invoke Run Test case from the zUnit context menu
- you cannot append a second recording to the playback file
The zapp yaml file in retirementCalculator/zapp.yaml


