11.07.2015 Views

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ON CommandDescriptionThe ON command allows users to catch any one of the exceptions:ERRorINTerruptLOCal_errorREMote_erroron <strong>NetEx</strong>/eFT erroron keyboard interrupton LOCAL command erroron REMOTE command errorThe ON command initializes the exception by specifying an action that should occur each time the exceptiontakes place. To turn off the exception handler, issue the same command without an action.ON ERRorThe ON ERRor exception establishes an alternative action to be taken when a <strong>NetEx</strong>/eFT error occurs. Withoutan ON ERRor specified, <strong>NetEx</strong>/eFT terminates all input levels (for nested input scripts), and begins processingat the interactive level. If INPut CONTinue is ON, <strong>NetEx</strong>/eFT displays the error and continues processingthe next command.ON INTerruptThe ON INTerrupt exception establishes an alternative action to be taken when a keyboard interrupt occurs.Without an ON INTerrupt specified, <strong>NetEx</strong>/eFT terminates all input levels (for nested input scripts), and beginsprocessing at the interactive level. If INPut CONTinue is ON, <strong>NetEx</strong>/eFT terminates the current leveland continues processing in the next level up.ON LOCal_errorThe ON LOCal_error exception establishes an alternative action to be taken when a LOCal command erroroccurs. A local error occurs when an z/OS command returns any nonzero status.ON REMote_errorThe ON REMote_error exception establishes an alternative action to be taken when a REMote command erroroccurs. A remote error occurs when the remote command issued returns an unsuccessful status. The definitionof REMote_error is dependent upon the remote host. Some hosts cannot detect command execution errors,in which case ON REMote_error becomes ineffective.FormatCommand Qualifier ParameterONexception [action]Where:ONis the keyword for this command.Page 136 Command Descriptions REF-eFT213-R<strong>5.4</strong>-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!