Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 29 of 46

DCS 300 User's Manual, pages 281 to 290

Pages 281 to 290 of 460

The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec DCS-300

Page 281

Using Screen Mapping

11

Field

Description

Value

Default

Error retries

These option buttons determine if the server retries the connection and how many times it retries the connection to the host application when an error occurs.

Unlimited, None, Limit

Unlimited

Data response timeout (VT/ANSI only)

The number of milliseconds of inactivity you want the server to wait before it assumes that the host is ready for more data.

100 to 99999

500

EHLLAPI mnemonic

EHLLAPI uses this character to represent special keys. This character must not occur in any keystroke of transaction data.

1 character

@

Concatenation char

The script uses this character to concatenate components of a message. This character must not occur in any static text of a message, such as a region label, or in any script keystroke name, such as CUR_POS. However, this character may appear in transaction data.

1 alphanumeric or special character

+

Process batch transactions

This check box determines if the controller processes batch transactions.

Check, Clear

Check

Send to source when batch transaction received

This check box determines if the server sends a message to the source of the transaction when the last transaction is received in batch mode.

Check, Clear

Check

Off, On, No continue

Off

Note: If the Process batch transactions check box is cleared, this check box is grayed out. Audit Options

Determines the level of auditing the server performs. If you enable auditing, when a nonfatal error occurs, the server writes the transaction and the explanatory transaction string to the audit file. •

Choose Off if you do not want the controller to perform any script auditing.

•

Choose On if you want the controller to log non-fatal errors to the audit file and continue processing the script.

•

Choose No continue if you want the controller to log the error to the audit file and to stop processing the script.

11-23

Page 282

DCS 300 User’s Manual

About the Data Response Timeout (VT/ANSI) In 3270 and 5250 screen mapping, the host application locks the terminal keypad while it is busy. When the keypad is unlocked, the host application is ready for the next action, such as another script command or keystroke. In VT/ANSI screen mapping, the terminals do not know when the host application is ready for the next action. The Data response timeout field sets the amount of inactivity time the server waits before it assumes that the host is finished sending data. That is, the server listens on the TCP/IP socket and if there is no activity and the timeout period expires, the server performs the next action. However, there is no guarantee that the host is finished sending data. Note: The server may not wait the entire timeout period if an action is performed successfully. For example, the PUT_TRANS_FIELD command waits until the cursor is at the field location or it may wait for the data response timeout to expire, whichever comes first. You set the data response timeout field when you set the script options. Use this field to tune the server to your network environment. If you set the data response timeout too long, it will affect server performance because your throughput will be slower. If you set the value too short, you may experience timing problems with your host.

11-24

Page 283

Using Screen Mapping

11

Creating Host Access Sequences For each script, you need to capture the keystrokes for a logon sequence, a normal logoff sequence and an abnormal logoff sequence. Logon sequences are keystrokes that take the script from the logon screen to the first host screen that receives all transactions for this script, such as the main host screen. Normal logoff sequences are keystrokes that exit the host application from the main host screen. Abnormal logoff sequences are keystrokes that exit the host application from any host screen. Abnormal logoffs usually occur when the server encounters a critical error. Before you can capture keystrokes, you need to start a temporary host session. For help, see “Starting a Host Session” in Chapter 10.

11-25

Page 284

DCS 300 User’s Manual

Creating a Logon Sequence The logon sequence contains the keystrokes that get you from the login screen to the main host screen. The main host screen is the first host screen where every transaction in the script starts. To create a logon 1. From the Script Builder Tools window, choose Host Access. 2. Choose Logon. The Logon Sequence dialog box appears. Note: If you do not want to capture the logon keystrokes, you can type them into the Selected Keystrokes field. Go to Step 6.

11-26

Page 285

Using Screen Mapping

11

3. Choose Start. 4. In the host window, enter the keystrokes you want to use for your logon. The Script Builder Tool captures all the keystrokes that you type. 5. When you finish entering the keystrokes for the logon, choose Stop. The keystrokes you typed appear in the Captured Keystrokes box. 6. If necessary, edit the keystrokes. For help, see “Editing the Captured Keystrokes” later in this chapter. 7. In the Main screen field, click the down arrow on the right side of the field. A list of all the available host screens appears. Select a host screen to be the main screen. Or, choose Define to define a new host screen that you want to use as the main screen. For help, see “Adding a Host Screen” later in this chapter. 8. Choose OK to return to the Script Builder Tools window.

Example: Keystrokes Appearing in Logon Sequence “USERID”

Enters the login name “USERID” in the User ID field.

RTAB

Tabs to the Password field.

“PASSWORD”

Enters the password “Password.” This password goes with the login name.

ENTER

Presses Enter to enter the information from the login screen.

ENTER

Presses Enter to go to the main menu.

11-27

Page 286

DCS 300 User’s Manual

Creating a Normal Logoff Sequence The normal logoff sequence contains keystrokes that exit you from the host application from the main host screen. To create a normal logoff 1. From the Script Builder Tools window, choose Host Access. 2. Choose Normal Logoff. The Normal Logoff Sequence dialog box appears. Note: If you do not want to capture the normal logoff keystrokes, you can type them into the Selected Keystrokes field. Go to Step 6.

3. Choose Start. 4. In the host window, enter the keystrokes you want to use for your normal logoff. The Script Builder Tool captures all the keystrokes that you type. 5. When you finish entering the keystrokes for the normal logoff, choose Stop. The keystrokes you typed appear in the Captured Keystrokes box. 6. If necessary, edit the keystrokes. For help, see “Editing the Captured Keystrokes” later in this chapter. 7. Choose OK to return to the Script Builder Tools window.

11-28

Page 287

Using Screen Mapping

11

Example: Keystrokes Appearing in Normal Logoff Sequence Home

Presses Home to bring up a prompt.

“signoff”

Enters “signoff” at the prompt to leave the session.

Enter

Presses Enter to enter the command.

Creating an Abnormal Logoff Sequence The abnormal logoff sequence contains keystrokes that exit you from the host application from any host screen. Abnormal logoffs usually occur when the server encounters a critical error. Note: Some host applications may not allow abnormal logoff sequences. To create an abnormal logoff 1. From the Script Builder Tools window, choose Host Access. 2. Choose Abnormal Logoff. The Abnormal Logoff Sequence dialog box appears. Note: If you do not want to capture the abnormal logoff keystrokes, you can type them into the Selected Keystrokes field. Go to Step 6.

11-29

Page 288

DCS 300 User’s Manual

3. Choose Start. 4. In the host window, enter the keystrokes you want to use for your abnormal logoff. The Script Builder Tool captures all the keystrokes that you type. 5. When you finish entering the keystrokes for the abnormal logoff, choose Stop. The keystrokes you typed appear in the Captured Keystrokes box. 6. If necessary, edit the keystrokes. For help, see “Editing the Captured Keystrokes” later in this chapter. 7. Choose OK to return to the Script Builder Tools window.

11-30

Page 289

Using Screen Mapping

11

Editing the Captured Keystrokes When you are done entering keystrokes for the host access sequence, choose Stop. The keystrokes that you typed appear in the Captured Keystrokes box. You can edit these keystrokes. Also, if you do not want to capture keystrokes, you can type them into the Selected Keystrokes field and then choose Before or After.

Deleting Lines in the Captured Keystrokes Box You can either delete your keystrokes one line at a time, or you can delete all the keystrokes you have captured and start over again. To delete one line 1. In the Captured Keystrokes box, select the line that contains the keystroke that you want to delete. 2. Choose Delete. The line is removed from the box. To delete all of the lines •

Choose Delete All

Changing Lines in the Captured Keystrokes Box 1. In the Captured Keystrokes box, select the line that contains the keystroke that you want to change. 2. In the Selected Keystrokes box, enter the new keystroke. 3. Choose Change.

Inserting New Lines in the Captured Keystrokes Box 1. In the Captured Keystrokes box, select the line where you want to add a keystroke before it or after it. 2. In the Selected Keystrokes box, enter the new keystroke. 3. Choose Before to insert the new keystroke before the selected line. Choose After to insert the new keystroke after the selected line.

11-31

Page 290

DCS 300 User’s Manual

Selecting Transactions for the Script You need to define all the transactions you want this script to handle. For help, see “Adding a Transaction” in Chapter 9. Note: You can add a transaction without adding its transaction fields. When you define a host screen field and map it to a field in the new transaction, Script Builder automatically creates the transaction field. Using the Script Builder, you can map each transaction field to a host screen field. Therefore, you need to choose a current transaction before you can define any host screens, host screen fields, or regions for that transaction. In the Selected list box, select the transaction whose fields you want to map to host screen fields and then choose Current. To select the transactions for the script •

From the Script Builder Tools window, choose Transaction. The Screen Mapping Transaction IDs dialog box appears.

Field

Description

Value

Default

Selected

This list box contains the transactions that this script handles.

None

None

Available

This list box contains all the transactions that are available to use with this script.

Predefined

None

11-32