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

Document ID : KB000087731
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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.
0EMb0000001UR7v.png
2) Run the job using for example STEPHIRC (4095).
0EMb0000001UR80.png
3) View the Journal entry for the job, now the highest permitted return is set to 4095.
0EMb0000001UR85.png
4) Run the job using for example STEPHIRC (12).
0EMb0000001UR8A.png
5) View the Journal entry for the job, the highest permitted return is still 4095, but it should be 12.
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.
 
 
Environment:
OS: MVS
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.
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.