M204.1778

From m204wiki
Jump to navigation Jump to search

M204.1778  INCREASE​/​DECREASE rejected for file with active procedure

An INCREASE or DECREASE command has been issued from within a procedure for a file with an active procedure. An active procedure is a procedure that has been included by the same user who included the increase/decrease procedure and that has not yet completed when the increase/decrease procedure is included. This situation can arise when:

  • The increase/decrease procedure is stored in the file that is to be increased or decreased.
  • The increase/decrease procedure is included by a procedure stored in the file to be increased or decreased.

The INCREASE or DECREASE command is ignored, and the procedure continues with the next sequential command.

File manager response: The increase/decrease procedure cannot be stored in the file to be increased or decreased nor can the increase/decrease procedure be invoked by a procedure stored in the file to be updated. Store the increase/decrease procedure in a file other than the one to be updated, or issue the INCREASE or DECREASE command at command level.

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
AUDITADWrites the message with line type AD to the audit trail
NOCOUNTDoes not increment the error count (ERCNT) parameter

Back to list of messages