|
|
|
|
During 3270 emulation, you can run programs that use the HLLAPI application program interface. These programs enable you to simulate the actions of a 3270 user by entering data and handling data received from the host. For example, you can use a HLLAPI program to log on to a 3270 host automatically.
To run a HLLAPI program, follow these steps:
Start the 3270 emulation program as explained in Starting the 3270 Emulation Program. Either use a style file that includes a session with the session ID used by the HLLAPI program, or specify the session ID when starting the 3270 emulation program.
Check that the session with this session ID is active. For more information, see Controlling 3270 Emulation.
Switch to the 3270 session and log on to the host, unless the HLLAPI program performs these actions automatically.
Move to another terminal, or use the TEMPEXIT keystroke to exit to another Solaris shell, and start the HLLAPI program. Use the same Solaris login ID to run the HLLAPI program as you used to start the 3270 emulation program; the two programs must run with the same effective user ID.
Alternatively, if you are using a HLLAPI application that performs all necessary interaction with the host and does not require any operator input, you can start the 3270 emulation program in the background (see Running 3270 Emulation in the Background) and then run the HLLAPI application. You still must use a 3270 session with a session ID that matches the session ID used by the HLLAPI application.
If the SNAP-IX TN3270 configuration enables you to have multiple 3270 sessions active, you can access more than one session using the same HLLAPI program or different HLLAPI programs.
For details on writing HLLAPI programs, refer to the SNAP-IX HLLAPI Programmer's Guide.
|
|
|
|
|