Any way to find the return code of the remote JOB

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
rakesh
Posts: 5
Joined: Tue Apr 21, 2020 12:24 pm

Any way to find the return code of the remote JOB

Post by rakesh » Thu Apr 23, 2020 11:41 am

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.

rakesh
Posts: 5
Joined: Tue Apr 21, 2020 12:24 pm

Re: Any way to find the return code of the remote JOB

Post by rakesh » Tue May 12, 2020 12:00 am

Hi,
Do we have this feature available? or under works for the new version? Or is there an alternative i could use.

dovetail
Site Admin
Posts: 1931
Joined: Thu Jul 29, 2004 12:12 pm

Re: Any way to find the return code of the remote JOB

Post by dovetail » Tue May 12, 2020 4:27 pm

Have you looked at this section in the User's Guide?

https://dovetail.com/docs/sftp/using.ht ... _jobstatus

Post Reply