Use of Conditional Logic (HP NonStop to z/OS)
In this multi-step Process, STEP01 will execute FUP to purge files FILE1, FILE2, FILE3, and FILE4 from $B.FILERESO on the PNODE. A message will be sent to the spooler ($S.#FUPTEST) that indicates whether FUP executed successfully.
STEP02 will copy DATA1.FILEA from the z/OS node (SNODE) to $B.FILERESO.FILE1 at the PNODE. The file will default to the same type of file being copied.
Conditional logic in STEP03 is then used to check the completion code of STEP02. If the completion code is greater than 4, then STEP04 will execute. If the completion code from STEP02 is 4 or less, then DATA1.FILEB will be copied from the z/OS node to $B.FILERESO.FILE2 at the HP NonStop node.
STEP04 will then execute and copy DATA1.FILEC from the z/OS node to $B.FILERESO.FILE3 at the HP NonStop node. If the completion code is greater than 8, then no further processing will occur. If the completion code of STEP03 is greater than 4, DATA1.FILED will be copied from the z/OS node to $B.FILERESO.FILE4 at the HP NonStop node.
|