`

Previous PageNext Page

Chapter 2 - Using 3270/SNA Advanced Features

Using the 3270/SNA resident emulation program
Capturing print data on disk
Customizing the PC keyboard
Using adapter files
Entering emulation from the DOS command line

Using the Resident Emulation Program

How the parts of 3270/SNA work in the PC.
Returning to emulation sessions by using VINES menus or the 3270 command.
Returning to emulation sessions by using a special hotkey.
Controlling how much PC memory 3270/SNA uses.

How the Parts of 3270/SNA Work

I3270

1. /LU:n.

2. Either /CLU:n or /PLU:n.

3. /CLU2:n.

4. /CLU3:n.

R3270

T3270

Returning to Emulation through Menus or at DOS

Note: If you try to release R3270 and it was not the last resident program loaded into memory, DOS may try to use the released space incorrectly. Then, you must reboot or turn off the PC and begin again.

Returning to Emulation by Using a Hotkey

1. First, run R3270 to load R3270 and make it resident.

2. Next, run I3270. You can provide switches on the command, using the same ones supported by 3270. For details, see the later section, "Entering Emulation from DOS."

The default hotkey is <Alt-Z>. To use another key, create a keyboard definitions file with KB3270 and change the mapping for the hotkey. Then, load the keyboard file with the /KEYBOARD switch on the I3270 command. For complete instructions, see the section "Customizing the PC Keyboard."

3. Finally, run T3270 /res. This command loads the T3270 program, and makes it resident in the PC.

Controlling How Much PC Memory 3270/SNA Uses

R3270 /numlus:1

Capturing Print Data on Disk

The <ENTER> key toggles between the two fields.
In the filename field, the <BACKSPACE> and <LEFT ARROW> keys erase one character immediately to the left of the cursor.

Figure 2-1. Disk Capture of Print Data Screen

3270/SNA attempts to open the named file. If successful, any new data sent to the file is appended to existing data. If the file doesn't exist, a new file is created with the specified name. Any file previously opened for Disk Capture is closed.
If the named file can't be made ready for data, you get an error message. The selection and filename fields are restored to their original content. At this point, you can try again.

Customizing the PC Keyboard

Figure 2-2. 3270 Definitions Menu

Reading in a 3270 Key Definitions File

1. From the 3270 Definitions menu, select the READ 3270 Definitions File option.

2. Enter the name of the file you want. The file name can include a directory pathname and an extension.

3. Press <F10> to read in the file.

Changing 3270 Function Key Definitions

Figure 2-3. 3270 Function Key Definitions Menu

1. Select the CHANGE function. Position the highlight on the function key you wish to change, and press <ENTER>.

2. At the next screen, press the new key that you chose for the 3270 function and press <ENTER>. Be sure to press the exact key combination you want to use. For example, to get <ALT-F9>, press <F9> while holding down the <ALT> key. The screen displays a-F9.

Continue in this manner for each key definition you want to change. Then, you must save these changes in a file. Refer to the section, "Saving Changes to 3270 Key Definitions."

Customizing International Characters

Figure 2-4. Customize Character Mappings Menu

Changing a Keystroke for an EBCDIC Mapping

1. Choose the Change Keystroke to EBCDIC Mappings function.

2. Highlight the EBCDIC mapping you wish to change and press <ENTER>.

3. Type in the new keystroke for the mapping. The Customizing Character Mappings screen is redisplayed with your change in effect.

Changing a Display for an EBCDIC Mapping

1. Choose the Change EBCDIC to Display Mappings function.

2. Highlight the EBCDIC mapping you wish to change and press <ENTER>.

3. At the next screen, highlight a hexadecimal graphics character to be displayed for the EBCDIC mapping and press <ENTER>. The Customizing Character Mappings screen is redisplayed with the new display character for the EBCDIC mapping.

Saving Changes to 3270 Key Definition

1. Press <ESC> to return to the 3270 Definitions Menu.

2. Select the SAVE 3270 Definitions File option.

3. Enter the name of the file in which you want to save your changes. The file name can include a directory pathname and an extension. Use a file name that is easy to identify.

4. Press <F10> to save the file.

Using Adapter Files

What parameters are used for capturing print data to disk.
Whether the status line shows text or symbols.
How the PC displays extended attributes sent by the host.

Figure 2-5. 3270 Adapter Configuration Menu

Recommendations for using adapter files
Reading in an adapter file
Setting up the printer
Controlling display of the status line
Customizing PC display attributes
Saving changes to an adapter file

Recommendations for Using Adapter Files

Reading in an Adapter File

1. From the 3270 Adapter Configuration menu, select the READ Previous Adapter Assignments File option.

2. Enter the name of the file you want. The file name can include a directory pathname and an extension.

3. Press <F10> to read in the file.

Setting Up the Printer

Figure 2-6. 3270 Printer Definition Screen

Page Length. How many lines there should be on each printed page.

Maximum Print Position. How long each printed line should be.

Printer Port Number. Whether printed output should go to PC printer port LPT1, LPT2, or LPT3. This port can be a local PC printer or a VINES network printer. Setting this port number has the same effect as specifying the /PRINTER switch on a 3270 command.

Redirection File Name. The name of the DOS file to which captured print data is directed. You can include a pathname if desired. For more information, see the earlier section, "Capturing Print Data on Disk."

1. Type in a value for each field you want to change. You can use the arrow keys to move the cursor, or press <ENTER> to move from one field to another.

2. When you have finished entering information, press <F10> or <ENTER> with the cursor on the file name. You return to the 3270 Adapter Configuration menu.

Controlling Display of the Status Line

Customizing PC Display Attributes

Choosing an adapter type.
Choosing control attributes for the status line and menus.
Choosing extended attributes for highlighting, including palette registers for EGA and VGA.

Choosing an Adapter

Figure 2-7. 3270 Adapter Assignments Menu

1. Use the arrow keys to move the cursor. When the adapter you want is highlighted, press <ENTER>.

2. A prompt appears, asking if you want to default all of the control attributes and the extended attributes.

If you choose NO , all of the attributes are set to zeros. NO is the default choice.

If you choose YES , the attributes are set to defaults. These defaults approximate the 3270 extended attributes, using the colors or other characteristics of the adapter you chose.

3. Move the cursor to your choice, YES or NO. Press <ENTER>. If you choose an adapter other than EGA or VGA, you return to the 3270 Adapter Configuration menu.

If you choose an EGA or a VGA adapter, you are prompted for additional information. See the next section for details.

Defining an EGA or a VGA Adapter

Do you want to use underscore? Specify YES if you want a font loaded during emulation so the adapter can display underscoring. Specify NO if you do not want the font loaded.

Do you want to load palette registers? Specify YES if you want to set the contents of EGA or VGA palette registers. Specify NO if you do not.

Figure 2-8. 3270 EGA Palette Register Assignments Screen

1. Use the arrow keys to move the cursor. Press <ENTER> when the register you want is highlighted.

2. Enter the hexadecimal code for the attribute you want displayed. You return to the 3270 Palette Register Assignments Menu.

Choosing Control Attributes

Figure 2-9. 3270 Control Attribute Assignments Screen

1. Use the arrow keys to move the cursor. Press <ENTER> when the attribute you want to change is highlighted.

2. Enter the proper hexadecimal code for the attribute you want displayed. You return to the 3270 Control Attribute Assignments menu.

Choosing Extended Attributes

Figure 2-10. 3270 Extended Attributes Screen

1. Use the arrow keys to move the cursor. Press <ENTER> when the extended attribute you want to change is highlighted.

2. Enter the proper hexadecimal code for the PC color you want displayed. You return to the 3270 Extended Attribute Assignments menu.

3. Repeat steps 1 and 2 until you have completed all your changes.

Saving Changes to an Adapter File

1. Press <ESC> to return to the 3270 Adapter Configuration menu.

2. Select the SAVE Adapter Assignments File option.

3. Enter the name of the file in which you want to save your changes. The file name can include a directory pathname and an extension. Use a file name that is easy to identify.

4. Press <F10> to save the file.

Entering Emulation from DOS

3270 [service-name@group@org] [/LU:n]
[/PLU:specifier] [/PRINTER:LPTn]
[/CLU:n][/CLU2:n][/CLU3:n]
[/KEYBOARD:filespec] [/ADAPTER:filespec]

1. /LU:n.

2. Either /CLU:n or /PLU:n.

3. /CLU2:n.

4. /CLU3:n.

3270

3270 ibmsna@production@manufacturing /clu

3270 /keyboard:uk.kbd /adapter:ega.gdf

 

Previous PageTop Of PageNext Page