|
|
|
|
You can run the 3270 emulation program as a background process. When you run the program as a background process, you cannot view the 3270 emulation display or use the keyboard, but you can still access 3270 display sessions using a HLLAPI application or perform host printing with printer sessions. (When the 3270 emulation program is in the background, you cannot run a command-line transfer directly. However, you can run a command-line file transfer indirectly by using a HLLAPI application to log on to the host.) Because the menu interface is inaccessible, it is disabled to save memory. For more information, see Transferring Files from the Solaris Command Prompt.
When you start the 3270 emulation program in the background, the following sessions are automatically activated:
All initially active display sessions that have a session ID assigned
All initially active printer sessions
If there are no initially active printer sessions or initially active display sessions that have a session ID assigned to them, the 3270 emulation program displays an error message and the program terminates. See Customizing Display Sessions, or Customizing Printer Sessions, for information about session IDs and initially active sessions, or Starting the 3270 Emulation Program, for information about specifying session IDs from the command line.
Before starting the 3270 emulation program in the background, make sure the following conditions are true:
You are configured as a 3270 user.
Your default style file, or the style file you specify on the command line, contains at least one initially active session (display or printer).
If the initially active session is a display session and does not have a session ID, use the option to specify the session ID on the command line when starting the 3270 emulation program. For more information, see Starting the 3270 Emulation Program.
Contact your System Administrator if necessary.
To start the 3270 emulation program in the background, enter the following command at the Solaris command prompt:
xtn3270 -b [-s[/ path/]stylefile] [-t [/ path/]convfile] [-h IDlist][-l host list]
The Motif program, xtn3270, cannot be run in the background; tn3270 must be used.
The option indicates that the program is to be run in the background. For more information about the other command-line options, see Starting the 3270 Emulation Program. If you use more than one option, you can specify them in any order.
When you start the 3270 emulation program in the background, all sessions suitable for running in the background (initially active printer sessions or initially active display sessions that have a session ID assigned to them) are automatically activated. If there is no initially active printer session or initially active display session that has a session ID assigned to it, the program terminates with an error message.
To stop the background 3270 process, use the tnstop3270 utility by typing tnstop3270. This will stop all copies of the 3270 emulation program that are running with your Solaris user ID.
The SNAP-IX TN3270 product responds with a message indicating the number of copies of the program it found and stopped.
|
|
|
|
|