Previous Page Contents Page Next Page

1 Introducing the 3270 Emulation Program

This chapter introduces the features of the 3270 emulation program and 3179G emulation program provided by SNAP-IX.

1.1 Overview of 3270 Emulation

The 3270 emulation program gives you access to most of the standard features of an IBM 3270 Information Display System (IDS) terminal, such as extended attribute byte (EAB) support for color and extended highlighting. Some of these features are available only if your Solaris computer and your terminal support them. For more information about required hardware and software, refer to the SNAP-IX Installation.

In addition, the 3270 emulation program provides file transfer, local copy, and keystroke record/replay capabilities and enables you to develop and run High-Level Language Application Programming Interface (HLLAPI) programs.

The 3179G emulation program gives you access to most of the standard features of an IBM 3179G graphics display terminal. It is based on the Motif 3270 emulation program and provides the same features as that program.

You can think of the 3179G display as consisting of two layers: an alphanumeric layer that contains text-based data, and a graphics layer that contains graphics data. The alphanumeric layer is similar to the 3270 display; you can use features such as HLLAPI and local copy printing with the data in this layer.

1.1.1 Sessions

Depending on your configuration, you may have as many as ten concurrent 3270 sessions.

These sessions can consist of any combination of the following:

  • IBM 3278/79 host display sessions (used for emulation, file transfer, and HLLAPI applications)

  • IBM 3287 host printer sessions

Different sessions can be connected to the same host or to different hosts. (For more information, refer to the SNAP-IX Administration Guide.)

You can also use 3270 display sessions to access 3179G graphical display applications at the host by using the 3179G emulation program instead of the 3270 emulation program. For more information, see Starting the 3179G Emulation Program.

1.1.2 Model 2-5 Display Support

The 3270 emulation program supports the 3270 display models shown in 3270 Display Models.

3270 Display Models

3270 Display Model Screen Size Equivalent IBM Display Terminal
Model 2 24 x 80 3278 model 2, 3279 model S2A
Model 3 32 x 80 3278 model 3, 3279 model S2B
Model 4 43 x 80 3278 model 4, 3279 model S3A
Model 5 27 x 132 3278 model 5, 3279 model S3B

You can display screen models other than Model 2 only if your Solaris computer and your terminal's screen hardware can support them. However, you can activate sessions that use any screen model and use HLLAPI application programs to access them, even if you cannot access these sessions directly. Refer to the SNAP-IX HLLAPI Programmer's Guide for more information.

The 3179G emulation program does not support these different screen models. The screen size for a 3179G application is always either 24 x 80 or 32 x 80 (determined by the host application).

1.1.3 File Transfer

The 3270 emulation program supports file transfer using the IBM host file transfer program IND$FILE, enabling you to transfer files between your local computer and MVS/TSO, VM/CMS, and CICS host systems. You can transfer multiple files, with multiple hosts, at the same time. Each file transfer uses a separate active 3270 display session.

You can perform the following file transfer operations:

  • Transfer both text and binary files, and sequential and partitioned data sets with fixed- or variable-length records. As a file is transferred, it can be translated from ASCII to EBCDIC or vice versa.

  • Choose to insert or strip away carriage-return and line-feed characters.

  • Send multiple Solaris files to a host.

  • Append a transferred file to an existing file on a host or on the Solaris computer.

  • Print the contents of any Solaris file on a host-connected printer by transferring the Solaris file to a host file or data set and then printing that file on the host printer.

  • Issue the file transfer commands by using the 3270 emulation program's menus and dialog boxes or transfer files from the Solaris command prompt. For step-by-step instructions, see Transferring Files.

1.1.4 Background Operation

You can use a command-line operation to run the character-based 3270 emulation program in the background. In this case, you cannot directly view the 3270 display or use the keyboard, but you can use host printing applications with 3270 printer sessions, or run HLLAPI applications or command-line file transfers that access 3270 display sessions. For more information about running the 3270 emulation program in the background, see Getting Started with 3270 Emulation.

The 3179G emulation program cannot be run in the background.

1.1.5 Temporary Exit from 3270 Emulation

While using the 3270 emulation program, you can perform a temporary exit to one of the Solaris shells while leaving the 3270 emulation program running. Use the temporary exit, for example, to list the contents of a directory or to run a HLLAPI application or a command-line file transfer. For more information about the temporary exit feature, see Temporary Exit from 3270 Emulation.

The TEMPEXIT keystroke is not supported in the Motif 3270 emulation program. Instead, you move to a new terminal window using the mouse as usual.

1.1.6 Type-Ahead during 3270 Emulation

While waiting for the host to respond during 3270 emulation, you can enter the keystrokes that will be required after the host has responded; these can be data characters, cursor control keys, or keys such as ENTER that send information to the host.

1.1.7 Local Copy

You can perform a local copy of your 3270 emulation display in the following ways:

  • Print a paper copy of your current 3270 emulation display on any printer shared by the Solaris server

  • Store a copy of the current display to a local file

The host application can also request a local copy print, which it sends to a printer or file in the same way.

Local copy printing from the 3179G emulation program includes only the data from the alphanumeric layer of the display; the graphics layer is not printed. Alternatively, you can use standard Motif utilities to capture the contents of the display window (including both the graphics and alphanumeric data). For more information, refer to your operating system's Motif documentation.

1.1.8 Keyboard Remapping

The keyboard remapping facility gives you flexibility in customizing your keyboard. You can view, swap, and disable key assignments. You can also change 3270 key assignments to a key or key combination (or more than one key or key combination) on your terminal. The following are examples of keyboard remapping:

  • You can map PA1 to any key on your terminal's keyboard, such as Ctrl +A.

  • If you use two different keyboards and one of the two does not have a complete set of function keys, you can map PF12 to both F12 and Esc Esc F2. You must have a separate style file for each keyboard, and you must start the emulation program with the style file appropriate for the keyboard you are using.

1.1.9 Keystroke Recording and Replay

You can record up to 24 sequences of keystrokes that you need to use regularly during 3270 emulation (for example, the key sequence required to start up a host application, log on, and perform any standard initialization), and then replay these sequences later, instead of having to type all the keystrokes again. The keystroke sequences can include any of the following:

  • Data characters

  • Cursor control keys

  • Program function or program access keys

  • Keys, such as ENTER, that send information to the host

  • Pauses to enable you to type in variable data

For more information about keystroke recording and replay, see Getting Started with 3270 Emulation.

1.1.10 International Language Support

The 3270 emulation program provides the facility to communicate with hosts using international language variants of EBCDIC. This facility enables you to send and receive all the characters associated with a selected host language, including those specific to that language.

As an alternative to using the standard language translations provided by the 3270 emulation program, you can specify your own translation table to be used for character conversion. For more information about this option, see Getting Started with 3270 Emulation.

Whether your terminal displays international characters depends on the support for these characters provided by your Solaris computer and its terminals.

1.1.11 3270 Status Line

During a 3270 session, the bottom line of your screen contains a status line that shows messages. These messages give the same information as those on an IBM 3278 or 3279 display terminal; they provide real-time information about the characteristics and activities of the session.

The way in which this status line information is displayed on the screen depends on your terminal's hardware and software and on your 3270 customization. The status line information can be displayed in one of the following ways:

  • Written to the terminal's status line (if the terminal supports this)

  • Written to a spare line at the bottom of the screen (if the screen has more lines than your 3270 screen model requires)

  • Shared with the last line of the 3270 display (in which case you press a key to switch between the status line and the last display line)

For more information, see Status Line Information.

You can also press a key to display a screen of help information about the status line. This screen explains the value that appears in each field on the status line of the current session.

1.1.12 Printer Emulation

The 3270 emulation program lets your Solaris computer's printer emulate an IBM 3287 host printer. It provides the following print options:

  • LU type 1 printing using a printer session

  • LU type 3 printing using a printer session

  • User-initiated local copy (printing the current contents of the 3270 display at the request of the user)

  • Host-initiated local copy (printing the current contents of the 3270 display at the request of the host application)

  • Directing print output to a local Solaris file instead of to a printer

1.1.13 File, Customize, and Control Menus

The 3270 emulation program provides pull-down menus to customize and control 3270 emulation. To assist you, the 3270 emulation program also provides detailed help screens, accessible by pressing F1 while in any menu or dialog box.

You can run the character-based 3270 emulation program without these menus to save Solaris memory. For more information, see Fast Path to 3270 Terminal Emulation.

The File Menu

You can use the File pull-down menu to do the following:

  • Open a style file, which contains the parameters (specified using the Customize menu) that control the appearance and behavior of your terminal in 3270 emulation

  • Create a new style file

  • Save changes to a style file

  • Move from the menu interface to 3270 display sessions

  • Exit the 3270 emulation program

For more information, see Customizing 3270 Emulation.

The Customize Menu

You can customize the following features by selecting options under the Customize menu:

  • Session characteristics

  • Output devices or files

  • Display colors

  • Host language (the language variant of EBCDIC used at the host)

  • Key definitions (the mapping between 3270 functions and keys on your terminal's keyboard)

Use the File menu to save customized parameters in a style file. You can set up more than one style file, each with its own set of definitions.

For more information, see Customizing 3270 Emulation.

The Control Menu

You can control 3270 emulation by using the Control menu to do the following:

  • Control display and printer sessions

  • Transfer files between the Solaris computer and the host

  • View host response times

  • Send NetView alert messages to the NetView operator

1.1.14 HLLAPI Support

You can write application programs that use the HLLAPI programming interface to communicate with the host 3270 application. Application programs that use the functions provided by HLLAPI require an active 3270 emulation session.

For example, you can use HLLAPI programs to automate procedures for communicating with a host application, to provide a different user interface without modifying the host application, or to access host applications that require large screen models not supported by your terminal.

Refer to the SNAP-IX HLLAPI Programmer's Guide for more information.

You can access the alphanumeric layer of a 3179G display session using HLLAPI in the same way you access a standard 3270 display session. However, you cannot access the graphics layer using HLLAPI.

Previous Page Contents Page Top of Page Next page