when running a package ship job using confirmation checking, and email notification the return code coming from the job is zero but the step that is run is getting a return code of 8. the email is sending out a the return code of zero not the rc = 8.

Document ID : KB000046398
Last Modified Date : 14/02/2018
Show Technical Document Details

QUESTION:

When running a package ship job to a remote location using email notification and IF / THEN / ELSE checking during the confirmation step the return code from the package ship step (delete) is getting a return code 8 and yet the return code sent in the email has a return code of 000.  

ANSWER:

The package ship step that is running and being checked by the IF / THEN / ELSE, it is looking at the return code of the NDVRSHIP step.  Since the NDVRSHIP step got a return code of 000 and the step that is doing the copy is getting a return code of 008, the IF / THEN / ELSE check is only looking at the NDVRSHIP job to see if it copied the staging files to the remote and not the step that is doing the IEBCOPY.