IBM Support

PH71421: WAZI DEPLY JOB_SUBMIT INCORRECTLY REPORTS A STEP STATUS AS "OK" WHEN THE SUBMITTED Z/OS JOB IS CANCELLED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Wazi Deploy v3.0.7.2, the job_submit building block
    incorrectly reports a step status as "Ok" when the submitted
    z/OS job is cancelled.
    
    Steps to Reproduce
    
    1. Create a deployment plan YAML file:
    
    activities:  - name: SUBMIT JCL
       description: |
         This activity submits a JCL to run the program
       actions:
           - name: Test of JCL submit
             steps:
    
             - name: Submit JCL to cancel
               properties:
               - key: template
                 value: job_submit
               - key: var_job_submit
                 value: job_submit_test_cancel
    
    2. Create an environment YAML file:
    
    spec:
    
     job_submit_test_cancel:
        src: 'CASE.JCL(CANCEL)'
        max_rc: 8
    
        wait_time_s: 25
    
    
    3. Create JCL member CASE.JCL(CANCEL):
    
    
    //WAITJOB JOB
    //STEP1   EXEC PGM=BPXBATCH
    //STDOUT  DD SYSOUT=*
    //STDERR  DD SYSOUT=*
    //STDPARM DD *
    SH sleep 60
    /*
    
    4. Execute IBM Wazi Deploy with the plan and environment
    
    5. Observe evidence file output:
       engine:
         version: 3.0.7.2
       runtime_context:
         zoau_version: 1.3.6.0
    status: Ok
    activities:
    - name: SUBMIT JCL
     properties: []
     actions:
     - name: Test of JCL submit
       properties: []
       steps:
       - name: Submit JCL to cancel
             results:
               job_steps:
               - step_name: JES2
                 dd_name: JESMSGLG
                 record_format: UA
                 record_length: 133
                 records: 24
                 dsid: 2
                 msg: |-
                   1                    J E S 2  J O B  L O G  --  S
    Y S T E M  I P O 1  --  N O D E  V M 3 0 0 6 4
                   0
                    15.36.35 JOB03749  IEF450I WAITJOB STEP1 -
    ABEND=S222 U0000 REASON=00000000  551
       action_result:
         status: Ok
         msg: Ok
         results: []
       loop_index: 0
     activity_result:
       status: Ok
    

Local fix

  • There is no known workaround at this time
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: System Engineers                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: A submitted job canceled by user is     *
    *                      wrongly reported as succeeded in        *
    *                      step_result in evidences files.         *
    ****************************************************************
    A submitted job canceled by user is now reported as failed in
    step_result in evidences files.
    

Problem conclusion

  • Fix in this version
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH71421

  • Reported component name

    WAZI DEPLOY

  • Reported component ID

    5724T0783

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-05-20

  • Closed date

    2026-06-12

  • Last modified date

    2026-07-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • GDPTAR01
    

Fix information

  • Fixed component name

    WAZI DEPLOY

  • Fixed component ID

    5724T0783

Applicable component levels

  • R300 PSY UO08211

       UP26/06/19 P F606

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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19O"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"300"}]

Document Information

Modified date:
02 July 2026