HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 3 99
Getting Started with 3270 Emulation
Automating the TN3270 Emulation Start-Up
Automating the TN3270 Emulation
Start-Up
You can automate startup procedures to minimize your keystrokes by
using the following procedure:
Step 1. Create a style file that is customized to make at least one session active
when the TN3270 emulation program is started.
Step 2. Use HP-UX shell scripts to start the TN3270 emulation program and use
these to specify the style file as a command-line parameter.
You can also automate startup to a particular host application by writing
a HLLAPI application program to log on to the host and perform
whatever initial steps are required, or by using the 3270 keystroke
recording and replay facility to record your logon sequence. For
information about writing HLLAPI programs, refer to the HP-UX
SNAplus2 3270 & TN3270 HLLAPI Programmers Guide; for information
about keystroke recording and replay, see “Keystroke Recording and
Replay”.