# tibemsNpCheckMode

Type

## Purpose

Define when a producer should check the result of sending a NON_PERSISTENT message.

## C Declaration

    typedef enum
    {
        NPSEND_CHECK_DEFAULT   = 0,
        NPSEND_CHECK_ALWAYS    = 1,
        NPSEND_CHECK_NEVER     = 2,
        NPSEND_CHECK_TEMP_DEST = 3,
        NPSEND_CHECK_AUTH      = 4,
        NPSEND_CHECK_TEMP_AUTH = 5
    } tibemsNpCheckMode;

## COBOL

    01  TIBEMS-NPCHECK-MODES.
       05 tibemsNpCheckMode          PIC S9(8) BINARY.
        88 NPSEND_CHECK_DEFAULT      VALUE 0.
        88 NPSEND_CHECK_ALWAYS       VALUE 1.
        88 NPSEND_CHECK_NEVER        VALUE 2.
        88 NPSEND_CHECK_TEMP_DEST    VALUE 3.
        88 NPSEND_CHECK_AUTH         VALUE 4.
        88 NPSEND_CHECK_TEMP_AUTH    VALUE 5.

Member | Description
--- | ---
`NPSEND_CHECK_DEFAULT` | Define default check mode for sending a NON_PERSISTENT message.
`NPSEND_CHECK_ALWAYS` | Define mode when producer always checks result of sending a NON_PERSISTENT message.
`NPSEND_CHECK_NEVER` | Define mode when producer never checks result of sending a NON_PERSISTENT message.
`NPSEND_CHECK_TEMP_DEST` | Define mode when producer checks result of sending a NON_PERSISTENT message only when sending into temporary destination.
`NPSEND_CHECK_AUTH` | Define mode when producer checks result of sending a NON_PERSISTENT message only when server authorization is enabled.
`NPSEND_CHECK_TEMP_AUTH` | Define mode when producer checks result of sending a NON_PERSISTENT message when sending into temporary destination or if server authorization is enabled.

Copyright © Cloud Software Group, Inc. All rights reserved.