Hi,
I am submitting a job to remote Lpar. I see the commands for retrieving the JOB details like DDs and entire job output to local lpar but is there a way to inquire the RC of the job and set the RC of local job accordingly?
My local job have 2 steps, first step submits the job to remote Lpar. I like to run the step 2 only if the RC of the remote job is zero.
Any way to find the return code of the remote JOB
Re: Any way to find the return code of the remote JOB
Hi,
Do we have this feature available? or under works for the new version? Or is there an alternative i could use.
Do we have this feature available? or under works for the new version? Or is there an alternative i could use.
Re: Any way to find the return code of the remote JOB
Have you looked at this section in the User's Guide?
https://dovetail.com/docs/sftp/using.ht ... _jobstatus
https://dovetail.com/docs/sftp/using.ht ... _jobstatus
Re: Any way to find the return code of the remote JOB
Hi,
Yeah, i looked at that in the doc. ls - al lists the status of the job. How do evaluate the RC of the job without writing this ls -al output to a dataset and writing some rexx. Is there a command or variable to check the RC of the job.
Yeah, i looked at that in the doc. ls - al lists the status of the job. How do evaluate the RC of the job without writing this ls -al output to a dataset and writing some rexx. Is there a command or variable to check the RC of the job.
Re: Any way to find the return code of the remote JOB
There isn't any mechanism other than getting the output from the "ls" command and processing it.