tibemsLookupContext_Create
Function
C Declaration
tibems_status tibemsLookupContext_Create( tibemsLookupContext* context, const char* brokerURL, const char* username, const char* password ); tibems_status tibemsLookupContext_CreateSSL( tibemsLookupContext* context, const char* brokerURL, const char* username, const char* password, tibemsSSLParams sslParams, const char* pk_password );
COBOL Call
CALL "tibemsLookupContext_Create"
USING BY REFERENCE context,
BY REFERENCE brokerURL,
BY REFERENCE username,
BY REFERENCE password,
RETURNING tibems-status
END-CALL.
CALL "tibemsLookupContext_CreateSSL"
USING BY REFERENCE context,
BY REFERENCE brokerURL,
BY REFERENCE username,
BY REFERENCE password,
BY VALUE sslParams,
BY REFERENCE pk-password,
RETURNING tibems-status
END-CALL.
Parameters
| Parameter | Description |
|---|---|
| context | Store the new lookup context object in this location. |
| brokerURL | URL that the context object uses to connect to the EMS server at this URL. If configuring a fault-tolerant client, enter two of more URLs, as described in Configuring C and COBOL Clients for Fault-Tolerant Connections. |
| username | User name that the context object uses to identify itself to the server. |
| password |
Password that the context object uses to identify itself to the server. |
| sslParams |
Data that the context object uses to create a TLS connection to the EMS server. |
| pk_password |
Password that the context object uses to decrypt its TLS private key. |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.
