MSIR.0512 Error in ($func) call in line (lnum) of command level program

From m204wiki
Jump to navigation Jump to search

A request is being cancelled because the '$func' call that had been entered at command level returned a value specified on a SIRFACT CANCEL '$func' command. 'lnum' is the command level line number where the BEGIN statement is line number 1. Determine the cause of the bad return value from the $function (perhaps by getting a SirFact dump) and correct the User Language code, or if it is determined that 'val' should be an acceptable return value from '$func', remove the value from the SIRFACT CANCEL command or wrap the specific $function invocation in a SIRFACT OFF/SIRFACT ON bracket.


Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages