Hi all,
How do you set a counter in a job on an MRC? The manuals are as clear as mud to me in this area.
Cheers,
Dave
Hi all,
How do you set a counter in a job on an MRC? The manuals are as clear as mud to me in this area.
Cheers,
Dave
You are wanting to count how many times a job runs?
Add this instruction to the bottom of the job:
INC I001
Each time the job completes, the variable I001 will be incremented. You will of course have to reset this counter at some time, most likely in the job that is doing the calling. for example:
JUMP *GO IF I001 < 1000
SET I001 0
*GO
The above will reset the I001 counter back to zero upon reaching 1000.
Without more information on exactly what you are trying to do, that is all I can offer. Hope it helps.
Thank you, that was enough information to jog the memory!