Making ESI calls from C programs

You can make ESI V2 calls to a CICS server from a C Client application in remote mode.

Verifying a password or password phrase

Use the CTG_ESI_verifyPassword function to verify a password or password phrase in CICS®. Pass in the user ID and password or password phrase to verify, and the name of the CICS server to send the verify request to. If the password or password phrase is verified successfully, information about the user ID is returned in the ESI_DETAILS structure passed to the function. If information about the user ID is not required, NULL can be passed to the function.
ESI_DETAILS Details;
int Response;

Response = CTG_ESI_verifyPassword(GatewayToken, Userid, Password, 
CicsServer, &Details);

Changing a password or password phrase

Use the CTG_ESI_changePassword function to change a password or password phrase in CICS. Pass in the user ID and current password or password phrase, the new password or password phrase, and the name of the CICS server to send the change request to. If the password or password phrase is changed successfully, information about the user ID is returned in the ESI_DETAILS structure passed to the function. If information about the user ID is not required, NULL can be passed to the function.
ESI_DETAILS Details;
int Response;

Response = CTG_ESI_changePassword(GatewayToken, Userid, CurrentPassword, 
NewPassword, CicsServer, &Details);

Concept Concept

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//progdezos/esicalls_remotemode.html