When using COZBATCH a z/OS Job is completing with the following
messages:
CoZBatchÝN¨: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All right
CoZBatchÝN¨: version 1.5.2 2009-12-08
CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
CoZBatchÝI¨: process rc=exitcode=0
CoZBatchÝI¨: returning override rc=12
============================================
The last message 'returning override rc=12' is causing a Job completion code of '12'. This message is undocumented can you tell me what is causing it?
Thanks in advance
Co:Z Batch Returning Override RC=12
Following up on JUPAM21's question,
We need the cozbatch job to give us a fixed return code of 12 if there are any errors (syntax errors or logical errors) in the SFTP process...
If there were no errors, and the SFTP process was succesful, we want the job to have a return code of 0.
I've used the '//PSTEP01 EXEC PGM=COZBATCH,PARM='/$?=12'' in
my jcl, but the issue is that I'm getting a RC of 12 all the time from the job. Any thoughts ?
Thanks..
We need the cozbatch job to give us a fixed return code of 12 if there are any errors (syntax errors or logical errors) in the SFTP process...
If there were no errors, and the SFTP process was succesful, we want the job to have a return code of 0.
I've used the '//PSTEP01 EXEC PGM=COZBATCH,PARM='/$?=12'' in
my jcl, but the issue is that I'm getting a RC of 12 all the time from the job. Any thoughts ?
Thanks..