otma_send_asyncx API

The otma_send_asyncx API has the same functionality as the otma_send_async API, but adds the extended ability to pass distributed network security credentials.

Invocation

Same as for the otma_send_async API.

Input

Same as for the otma_send_async API, with the following additional parameters:
*network userid length

Length of distributed network user ID. The maximum length is 100 bytes.

*network userid

Pointer to the distributed network user ID.

If there is no data, specify NULL for this field.

*network session id length

Length of distributed network session ID. The maximum length is 100 bytes.

*network session id

Pointer to the distributed network session ID.

If there is no data, specify NULL for this field.

Output

Same as for the otma_send_async API.

C-language function prototype

otma_send_asyncx(
                 otma_anchor_t  *anchor,                  [in]
                 otma_retrsn_t  *retrsn,                  [out]
                 ecb_t          *ecb,                     [out]
 
                 tpipe_name_t   *tpipe_name,              [in]
                 tran_name_t    *transaction,             [in]
                 racf_uid_t     *username,                [in]
                 racf_prf_t     *prfname,                 [in]
                 lterm_name_t   *lterm,                   [in]
                 mod_name_t     *modname,                 [in]
                 otma_user_t    *otma_userdata,           [in] 
 
                 char           *send_buffer,             [in]
                 data_leng_t    *send_length,             [in]
                 data_leng_t    *send_segment_list[],     [in]
                 char           *error_message,           [out]
                 void           *special_options,         [in]
		 char           *network_userid,          [in]  
		 data_leng_t    *network_userid_length,   [in]
                 char           *network_session_id,       [in]
		 data_leng_t    *network_session_id_length);[in] 

Post codes

Same as for the otma_send_async API.

Return values (rc value)

Same as for the otma_send_async API.