Changing STEPHIRC and / or JOBHIRC doesn’t work for existing jobs in the journal

book

Article ID: 87731

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
n/a

Changing STEPHIRC and / or JOBHIRC doesn’t work for existing jobs in the journal
 
With the Run Time Module Action Statements “JOBH[IRC] (rc)” and / or “STEPH[IRC] (rc)” it is possible to sets the highest permitted return code that any step in the job can post before the job is considered to have failed.
This works fine as long as the job is new for the RestartPlus Journal. Once the job is already recorded to the Journal the highest permitted return is not updated. So the old value in the Journal is used, even the sysprint of the Run Time Module committed that is has changed.
So it’s a good workaround to delete the concerning job entry from the Journal, before it’s executed with a different STEPHIRC or JOBHIRC setting as in the last run. The Journal entry is added automatically again during the next job execution.
 
Example / Steps to reproduce:
1) Make sure that the job is not in the Journal yet.

<Please see attached file for image>

0EMb0000001UR7v.png
2) Run the job using for example STEPHIRC (4095).

<Please see attached file for image>

0EMb0000001UR80.png
3) View the Journal entry for the job, now the highest permitted return is set to 4095.

<Please see attached file for image>

0EMb0000001UR85.png
4) Run the job using for example STEPHIRC (12).

<Please see attached file for image>

0EMb0000001UR8A.png
5) View the Journal entry for the job, the highest permitted return is still 4095, but it should be 12.

<Please see attached file for image>

0EMb0000001UR8F.png
 
 
A problem has been solved where JOB/STEP highest allowed return code couldn't be set, if it was already specified once in journal with a previous run.
 
Workaround:
Delete the concerning job entry from the Journal, before it’s executed with a different STEPHIRC or JOBHIRC setting as in the last run.
 
 

Cause

Cause type:
Defect
Root Cause: A problem has been solved where JOB/STEP highest allowed return code couldn't be set, if it was already specified once in journal with a previous run.

Environment

OS: MVS

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Restart.Plus 1.2O

Additional Information

Workaround :
Delete the concerning job entry from the Journal, before it’s executed with a different STEPHIRC or JOBHIRC setting as in the last run.

Attachments

1558692685390000087731_sktwi1f5rjvs16lt8.png get_app
1558692683756000087731_sktwi1f5rjvs16lt7.png get_app
1558692681887000087731_sktwi1f5rjvs16lt6.png get_app
1558692680155000087731_sktwi1f5rjvs16lt5.png get_app
1558692677419000087731_sktwi1f5rjvs16lt4.png get_app