M204.2478

From m204wiki
Jump to navigation Jump to search

M204.2478  'token' rejected​,​ would overwrite currently active proc

A request to modify a currently active temporary procedure, that is, one that has been included or is the target of concurrent USE PROC or $BldProc requests, was denied.

token0 specifies the type of action attempted: $BldProc or USE PROC.

Temporary procedures may be modified from within a SOUL request by the USE PROCEDURE command or the $BldProc function. If the target procedure for either of these operations is currently active — that is, has been included or is the target of a concurrent USE PROCEDURE command or $BldProc function — or is indirectly modified by one of them, the request is rejected.

Response: Direct the output to an inactive temporary procedure, or issue the USE PROCEDURE command from the command level, not from inside a SOUL procedure. When using:

  • $BldProc function, you can specify any inactive temporary procedure.
  • USE PROCEDURE command, the valid temporary procedures vary with the type of action requested. When the action keyword is:
    Keyword The temporary procedure specified
    APPEND or
    REPLACE
    Cannot be currently active.
    INSERT Must have an ID number greater (that is, closer to zero) than that specified in the USE PROCEDURE command.
    SHIFT Cannot be active.

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
ECHODisplays the line that caused the error

Back to list of messages