Contents
Contents for 5250 Applet Help

  Welcome to Microsoft SNA Server 5250 Applet

Step-by-Step Procedures

  Defining Session Settings

  Connecting to the Host Application

  Using Macros

  Printing the Screen

  Copying and Pasting Displayed Information

  Saving a Configuration

Reference

  5250 Applet Standard Keyboard Map

  ASCII Character Set

  ANSI Character Set

  IBM Extended Character Set

  5250 Applet Status Line


Welcome to Microsoft SNA Server 3270 Applet
Welcome to Microsoft SNA Server 5250 Applet

The Microsoft SNA Server 5250 Applet is a powerful communications product that enables you to access AS/400 systems on the Systems Network Architecture (SNA) network from your computer. Once connected to a host application, you can print the screen, copy and paste displayed information via the Clipboard, and save a configuration.

See Also

Defining Session Settings

Connecting to the Host Application


Defining Session Settings

Before you can connect to an AS/400 system, you must define the settings you will need for your 5250 session. These settings include:

Local LU Alias

Partner LU Alias

Host Code Page

Display Size

You can also change the following default session setting, although this is generally not necessary.

Device Name

To define basic session settings for the 5250 Applet

1	From the Session menu, choose Session Configuration.

The 5250 Session Information dialog box appears.

2	In the Local LU Alias box, type the Local LU Alias provided by your system administrator.

In some cases, the Local LU Alias provided by your system administrator may be the same as your user name. In other cases, your system administrator may instruct you to leave the box blank; this allows the SNA server to use the default local LU configured for your user name.

3	In the Partner LU Alias box, select the system name of the AS/400, as provided by your system administrator.

Your system administrator may instruct you to leave the box blank; this allows the SNA server to use the default system name (also called the remote LU) configured for your user name.

4	In the Host Code Page box, select the correct host code page.

The default is English-US.

5	Under Display Size, choose the option button for the correct display size.

The default is 24 x 80.

6	To specify a device name other than the default, in the Device Name box, type the correct device name.

7	Choose OK.

See Also

Connecting to the Host Application


Local LU Alias

A local LU alias specifies a local LU. A local LU is a collection of configuration information that makes it possible for your computer to connect to the AS/400.

Note  If you leave Local LU Alias blank, SNA Server first checks the configuration for a Default Local APPC LU for the user or group logged on. If the Default Local APPC LU has been configured in SNA Server Admin, SNA Server uses that LU. If no such LU can be used, SNA Server attempts to assign an LU from the Default Outgoing Local APPC LU Pool. If no LUs are available from the Default Pool, the attempt to start the applet will fail. For more information on configuring default local LUs and LU pools, see the Microsoft SNA Server Administration Guide.


Host Code Page

The host code page specifies the EBCDIC code page translation tables used by the host. The default is English-US.


Partner LU Alias

The system name is the name of the AS/400 you are connecting to.

Note  If you leave Partner LU Alias blank, and a Default Remote APPC LU has been configured in SNA Server Admin for the user or group logged on, SNA Server uses that LU. For more information on configuring default remote LUs, see the Microsoft SNA Server Administration Guide.


Display Size

The display size specifies the size of the display on your screen.


Device Name

Normally, the AS/400 provides a default device name for your computer. If necessary, you can specify a different device name than the one provided by the AS/400.

For any 5250 emulator, SNA Server automatically generates a unique device name for each session, based on the local LU and a system-wide unique 2-byte hexadecimal number. However, you can override this device name with another system-wide unique name.


Connecting to the Host Application

After you have defined the session settings, you can use the 5250 Applet to connect to the AS/400 application. Also, after defining session settings, you can automatically connect to the AS/400 application every time you start the 5250 Applet.

To connect to the AS/400 application

From the Session menu, choose Connect.

A logon dialog box appears, ready for you to enter your user ID and password.

To disconnect from the AS/400 application

From the Session menu, choose Disconnect.

The host disconnects.

To turn on the Autoconnect option

From the Session menu, choose Autoconnect.

A checkmark indicates that Autoconnect is selected. When Autoconnect is selected and you start the applet, it automatically connects.

To turn off the Autoconnect option

From the Session menu, choose Autoconnect.

Autoconnect is no longer selected (no checkmark appears beside it).


Using Macros

The SNA Server 5250 Applet provides macros for ease in using host function keys.

The macros for the 5250 Applet are as follows:

Macro	Description
Reset	Sends a Reset key to the host. Reset: Causes the display station to leave insert mode. Cancels a diacritical-mark key and character key input. Ends the help and system request functions. Cancels a hexadecimal key. Clears operator errors. Unlocks the keyboard and removes the do-not-enter symbol displayed in the operating status line (except for the Security and Printer Not Ready keys).
Attention	Sends an Attention key to the host. The Attention key is used to temporarily stop the present display station activity and select a new activity.
Sys Request	Sends a Sys Req key to the host. Functions of Sys Req can vary depending on the host system. With most systems, use the macro to: Select and start an alternate job. Notify the host system that the display station is ready to select a new program or activity. Request that the keyboard be unlocked (after normal error-recovery action has failed) so that you can enter data.
Field Exit	Sends a Field Exit key to the host. Field Exit causes the cursor to exit an input field and null characters (displayed as blanks) are inserted from the current cursor location to the end of the field.
Field Plus	Sends a Field Plus key to the host. Field Plus causes the cursor to exit an input field and null characters (displayed as blanks) are inserted from the current cursor location to the end of the field. When entering numeric data, you can use this macro instead of the Field Exit macro.
Field Minus	Sends a Field Minus key to the host. Functions of Field Minus can vary with the system. On most systems, use this macro to operate the same way as the Field Plus and Field Exit functions, except that it is allowed only in signed-numeric and numeric-only fields. This macro inserts a minus sign in the last position of a signed numeric-only field, or it changes the last position of a numeric-only field to an alphabetic character. (The alphabetic character is used to tell the system the numeric value of the last position and that it is a negative field.)
To use a macro

From the Macro menu, choose the correct macro.

The appropriate function key is sent to the host.


Printing the Screen

After you have established a connection to the host, you can print the information in the active window.

To print the screen

From the File menu, choose Print.

To change printer options

1	From the File menu, choose Printer Setup.

The Print Setup dialog box appears.

2	To change the printer, in the Printer list, select the correct printer.

To view Advanced Document Properties, choose the More button. To view printers on the network, choose the Network button.

3	Change any other printer options as necessary.

4	Choose OK.


Copying and Pasting Displayed Information

The 5250 Applet allows you to make a copy of the information in the display, so that you can use that information in other applications. To do this, you select a portion of the displayed information and then copy it to the Microsoft Windows NT Clipboard. After copying information to the Clipboard, you can change to a different application and transfer the information into that application.

In reverse fashion, you can copy information from an application other than the applet, then paste the information into the applet. If the emulation session is in a state in which information can be received (indicated by the status line), the pasted information will be entered as a series of keystrokes.

To copy and paste displayed information in the applet window

1	Select the portion of the displayed information that you want to copy, or, from the Edit menu, choose Select All.

2	From the Edit menu, choose Copy.

The selection is copied to the Clipboard.

3	Change to the application in which you will insert the contents of the Clipboard.

4	Position the cursor where you want to insert the contents of the Clipboard.

5	From the Edit menu, choose Paste.

To copy information from an application and paste it into the applet window

1	From the application, copy information to the Clipboard by using the applications standard copy command(s).

2	Change to an active applet session, or start the applet and begin a session.

3	Check to see that the session is in a state in which keystrokes can be received.

4	From the Edit menu, choose Paste.

The copied information is entered as a series of keystrokes.


Clipboard

A special memory resource that stores the last information that was copied or cut.


Saving a Configuration

After you have configured a connection to the host, you can save it. While you are connected to the host application, you cannot open a new or existing configuration.

To save a new configuration

1	From the File menu, choose Save.

The Save As dialog box appears.

2	In the Directories box, select the appropriate directory.

3	In the File Name box, type a name for the configuration file or select a file from the list.

To save the configuration to a directory on the network, choose the Network button.

4	Choose OK.

Now, when you choose Open from the File menu, the configuration appears as an available configuration.

To open a configuration

1	From the File menu, choose Open.

The Open dialog box appears.

2	In the Directories box, select the appropriate directory.

To open a file from a directory on the network, choose the Network button.

3	In the File Name box, type a name for the configuration file or select a file from the list.

4	Choose OK.

To create a new configuration

From the File menu, choose New.

The configuration settings are reset to their default values.

To rename a configuration

1	From the File menu, choose Save As.

The Save As dialog box appears.

2	In the Directories box, select the appropriate directory.

To save a file to a directory on the network, choose the Network button.

3	In the File Name box, type a new name for the configuration file or select a file from the list.

4	Choose OK.

Now, when you choose Open from the File menu, the configuration is renamed and appears as an available configuration.


5250 Applet Standard Keyboard Map
5250 Keyboard	Enhanced 101 Keyboard

¢	SHIFT+6
|	SHIFT+\
+	SHIFT+=
¬	[
-	- (num pad)
F1	F1
F2	F2
F3	F3
F4	F4
F5	F5
F6	F6
F7	F7
F8	F8
F9	F9
F10	F10
F11	F11
F12	F12
F13	SHIFT+F1
F14	SHIFT+F2
F15	SHIFT+F3
F16	SHIFT+F4
F17	SHIFT+F5
F18	SHIFT+F6
F19	SHIFT+F7
F20	SHIFT+F8
F21	SHIFT+F9
F22	SHIFT+F10
F23	SHIFT+F11
F24	SHIFT+F12
Alternate Cursor	ALT+F9
ATTENTION	ESC
Backspace	BACKSPACE
	SHIFT+BACKSPACE
BACKTAB	SHIFT+TAB
CLEAR	PAUSE
	SHIFT+PAUSE
Cmd	SHIFT+ALT(left)
	SHIFT+ALT(right)
CURSOR UP	UP ARROW
	8 (num pad)
	SHIFT+UP ARROW
CURSOR DOWN	DOWN ARROW
	2 (num pad)
	SHIFT+DOWN ARROW
CURSOR LEFT	LEFT ARROW
	4 (num pad)
	SHIFT+LEFT ARROW
CURSOR RIGHT	RIGHT ARROW
	6 (num pad)
	SHIFT+RIGHT ARROW
DELETE	DELETE
	. (num pad)
DUP	SHIFT+INSERT
END	END
	1 (num pad)
	SHIFT+END
ENTER	ENTER
ERASE EOF
ERASE EOL	ALT+HOME
ERASE INPUT	ALT+END
FAST CURSOR LEFT	ALT+LEFT ARROW
FAST CURSOR RIGHT	ALT+RIGHT ARROW
FIELD EXIT	+ (num pad)
FIELD MARK
FIELD -	- (num pad)
	SHIFT+-(num pad)
FIELD +	+ (num pad)
HOME	HOME
	7 (num pad)
	SHIFT+HOME
HELP	SCROLL LOCK
	SHIFT+SCROLL LOCK
HEX	ALT+F7
INSERT	INSERT
	0 (num pad)
LOCAL HELP	CTRL+SHIFT+H
LOCAL HELP CURSOR	CTRL+H
LOCAL PRINT	CTRL+P
NEWLINE	SHIFT+ENTER
PAGE UP	PAGE UP
	9 (num pad)
	SHIFT+PAGE UP
PAGE DOWN	PAGE DOWN
	3 (num pad)
	SHIFT+PAGE DOWN
PA1
PA2
PA3
PRINT	PRINTSCREEN
RESET	CTRL+R
SYSTEM REQUEST	CTRL+S
	ALT+NUM (*)
TAB	TAB
	SHIFT+NUM(+)
TEST REQUEST	ALT+PAUSE
WP BEGIN BOLD	ALT+B
WP BEGIN UNDERLINE	ALT+U
WP BEGINNING OF LINE	ALT+4 (num pad)
WP BOTTOM OF PAGE	ALT+2 (num pad)
WP CARRIER RETURN	ALT+ENTER
	ALT+ (num pad)
	ALT - (num pad)
WP CENTER	ALT+C
WP END BOLD/UNDERLINE	ALT+J
WP END OF LINE	ALT+6 (num pad)
WP HALF INDEX DOWN	ALT+H
WP HALF INDEX UP	ALT+Y
WP INSERT SYMBOLS	ALT+A
WP NEXT STOP CODE	ALT+N
WP NEXT TEXT COLUMN	ALT+D
WP PAGE END	ALT+P
WP REQUIRED BACKSPACE	ALT+BACKSPACE
WP REQUIRED PAGE	ALT+R
WP REQUIRED SPACE	ALT+SPACE
WP REQUIRED TAB	ALT+TAB
WP STOP CODE	ALT+S
WP TOP OF PAGE	ALT+8 (num pad)
WP WORD UNDERLINE	ALT+W


ASCII Character Set

ASCII Character Set (Part A)

ASCII Character Set (Part B)


ANSI Character Set


IBM Extended Character Set


5250 Applet Status Line

The following list describes the information displayed in the status line of the 5250 Applet.

Connection Indicator

The session is in the indicated state: connected or disconnected. When menu items are highlighted, an explanation of the menu item is displayed.

Status Indicators

These indicators are only true when red.

SA (System Available)

The AS/400 is operating and is available to the PC.

MW (Message Waiting)

The AS/400 has one or more messages for you.

KS (Keyboard Shift)

The keyboard is in shifted mode.

IM (Insert Mode)

Characters inserted into an existing field will not type over the existing data.

II (Input Inhibited)

Keyboard input is not being accepted by the AS/400. Try pressing the ERROR RESET key. If it is still highlighted, the system is processing your request.

KB (Keystroke Buffering)

Keystrokes are being saved in a temporary buffer (storage space), because keyboard input is not being accepted by the AS/400 (as indicated by the II indicator). After the II indicator goes off, the keystrokes will be processed. To clear the keystroke buffering, press the ERROR RESET key.

System and Device Indicators

These indicators appear only when the applet is connected to the AS/400. The following are examples of system and device indicators:

S1011025	The name of the AS/400 you are connected to.

BHAMWAS1	The name of the active device.