2.2.6 Error Message

Specify either message number and message file or message text. If neither an error message number and file nor error message text is specified LANSA will insert a default error message number, file and library as the error message. These default messages are "general purpose" and do not provide much detail about the specific cause of the error.

Message File

Specify the message file name to be used to locate the identified message number.

Message file is mandatory if using a Message Number.

Platform Considerations

Error Message Number

Specify the message number from the identified message file that you wish displayed.

Message number is mandatory if using a Message File.

Error Message Text

Specify the text of the error message to be displayed directly.

Message length can be a maximum of 80 characters.

Tips & Techniques