You can start or stop the EZASOKET interface by issuing an EXEC CICS LINK to program EZACIC20. Make sure you include the following steps in the LINKing program:
- Define the COMMAREA for EZACIC20. This can be done by including the EZACICA.CPY copybook in your program.
- Initialize the COMMAREA values as follows:
P20TYPE |
I Initialization
T Immediate Termination
D Deferred Termination
|
P20OBJ |
C CICS EZASOKET interface
L Listener
|
P20LIST |
Name of listener if this is listener initialization/termination.
|
- Issue the EXEC CICS LINK to program EZACIC20.
Note:
EZACIC20 will not return until the function is complete.
- Check the P20RET field for the response from EZACIC20.
Note:
Note: If the EZASOKET interface is not in startup or termination and no COMMAREA was provided, the E20L user abend code is issued by EZACIC20.