The error statement displays the error message from the messages file and continues execution of the program.
error message.num,"parameter"{,"parameter"...}
The parameters are passed to the error message handler and displayed according to the requirements of the item in the messages file.
read item from cust.file,"test" else error 202,"test" end
The error statement in this example displays:
[202] ’test’ is not on file.