From m204wiki
Jump to navigation Jump to search

M204.1223  Enq .. waiting for token token2 token3 token4 token5 token6 token7

This message is output to the audit trail to indicate that the user is waiting to enqueue on a specific resource (usually the named file). If initialization parameter CFRLOOK is 0, not all of the information is available. There are three forms of this message:

  • The first form is for the critical file resources RECENQ, DIRECT, INDEX, and EXISTS. Its format is:

    M204.1223 ENQ ... WAITING FOR resource enqtype filename


    resource is RECENQ, DIRECT, INDEX, or EXISTS.

    enqtype is SHR or EXC.

  • The second form is also for critical file resources RECENQ, DIRECT, INDEX, and EXISTS. Its format is:

    M204.1223 ENQ...WAITING FOR resource (SHARE/EXCLUSIVE) (BEHIND userid userno RUNNING procname)

    The second form prints only if one user is blocking another by holding the critical file resource exclusively. If procedure procname is not available, the literal BEHIND and the procedure name are not printed.

  • The third form is:

    M204.1223 ENQ ... WAITING FOR resource filename


    Resource Is...


    Change size of access control table


    Change size of procedure dictionary


    Access the password table in CCASTAT


    Save precompiled CCASYS proc (APSY)


    Update current file status - FISTAT


    Save precompiled proc (APSY)


    Group Definition Table in CCATEMP


    Group Field Table in CCATEMP when BLDGFT = yes for group


    Update a file


    Update CCAGRP


    Update Group Definition Table in CCATEMP


    Open a file - READ or UPDATE


    Name of one file group


    Name of one subsystem


    User defined resource via IFENQ


    Access a permanent procedure

    For more information, see Resource Locking.

    System manager response: Contact the file manager and application users if this message occurs often for the same resource. Changes to data division in Model 204 files or changes to applications may reduce enqueueing conflicts and improve performance.

    Message attributes:

    RETCODEO=0Sets online return code
    RETCODEB=0Sets batch (single user) return code
    CLASS=IInformation class; the message can be suppressed with the X'02' 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
    NOTERMDoes not display the message on the user's terminal

    Back to list of messages