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.

MSG FunctionThe MSG function returns the information of the last message. MSG is most often used to tailor the<strong>NetEx</strong>/eFT output message format.Format:Where:componentfacilitymsg(component [, facility])TextFacilityCodeSeverityRetryExamples:Purgethe code for the type of message data to return. Valid message components are: Text, Facility,Code, Severity, Retry, or Purge.requests the text from the message.requests the source of the message: NETEX, UA, UAxxx (where xxx represents thehost product code), SI, SIxxx, MUX, MUXxxx, or the operating system mnemonicfor the host generating the error.requests the message number from the facility.requests the severity of the message: E, W, or I for Error, Warning, and Informationalrespectively.requests whether or not the network error can be retried (not fatal). Results are eitherY, for can-be-retried, or N, for cannot-be-retried.will purge the message stack. One may find it useful to ensure that the next attemptto read a message resulted in a message from the last command, in this case the userwill need to Purge the message stack.to get the message from a certain facility: NETEX, UA, UAxxx (where xxx represents thehost product code), SIxxx, MUXxxx, or the operating system mnemonic for the host generatingthe error. The default is UA.Display the facility of the last error message:eFT> text The Last Error Message came from: {msg(“f”)}eFT: The Last Error Message came from: UADisplay the text of the last error message from <strong>NetEx</strong>/eFT:eFT> text The Last Error Message was: {msg(“t”)}eFT: The Last Error Message was: Invalid command ‘oops’Display the code of the last error message from <strong>NetEx</strong>/eFT:eFT> text The Last Error Code was: {msg(“c”)}eFT: The Last Error Code was: 4708Set the OUTPUT FORMAT qualifier to display only the message text when an error occurs:eFT> set output format {} {msg(“text”)}REF-eFT213-R<strong>5.4</strong>-08 Advanced Local User’s Guide Page 83

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

Saved successfully!

Ooh no, something went wrong!