After you successfully install, configure, and load the emulator, follow these steps to implement an ESL program that uses the ECS subroutines:
If appropriate, examine the output generated by Esl Fields utility to identify the precise contents of the buffer.
Write a test program that:
•References the ECS subroutines.
•Initializes 3270/5250 communications and connects to one or more sessions.
•Synchronizes the timing of 3270/5250 and ESL via ECS statements, so that the screen buffer is filled before subroutine calls are made to retrieve the information.
•Reads specific buffer contents into ESL string variables and textual regions, and communicates with the host via ECS subroutines.
•Write your application, incorporating step 2 with other ESL subroutine and response statements.