# tibemsMsgProducer_GetNPSendCheckMode

Function

## Purpose

Get the mode that defines when a producer checks the result of sending a NON_PERSISTENT message.

## C Declaration

    extern tibems_status tibemsMsgProducer_GetNPSendCheckMode(
        tibemsMsgProducer msgProducer,
        tibemsNpCheckMode* mode);

## COBOL Call

    CALL "tibemsMsgProducer_GetNPSendCheckMode"
        USING BY VALUE msgProducer,
               BY REFERENCE mode,
               RETURNING tibems-status
    END-CALL.

Note: `msgProducer` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`msgProducer` | Get the property from this producer.
`mode` | Store the mode in this location. Must not be null. See `tibemsNpCheckMode` for details.

## Remarks

This function returns the send check mode set by the `tibemsMsgProducer_SetNPSendCheckMode` function. If the returned value is NPSEND_CHECK_DEFAULT, then the effective mode can be set by the server parameter applied to all producers.

## See Also

`tibemsMsgProducer_SetNPSendCheckMode`

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