The text of a manual · part 40 of 70
Model 200 Controller System Manual, pages 391 to 400
Pages 391 to 400 of 695
The original document is the PDF (3.9 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 0200
Page 391
Using Screen Mapping
11
11. Choose OK to save the script to disk and to return to the Script Builder Tools window. Note: If you choose a script name from the Script name drop-down list box in Step 3, a dialog box appears. This dialog box confirms that you want to write over the existing script. Choose Write.
Deleting a Script File 1. From the Script Builder Tools window, choose Script. 2. Choose Delete. The Delete Script dialog box appears.
3. In the Script name field, click the down arrow on the right side of the field. A list of existing script files appears. Select the script you want to delete. 4. Choose OK to delete the script. A message box appears confirming that you want to delete the script. 5. Choose Delete. The script is deleted.
11-21
Page 392
Model 200 Controller User’s Manual
Setting Options for the Script File Within the Script Builder Tools window, you can set certain script variables for the current script.
Field
Description
Value
Default
Response timeout
Sets the number of minutes that the controller waits for a “host busy” condition to clear.
1 to 9999
2
Reset on timeout
This check box determines if the controller sends a Reset key to the host if the host is busy.
Check, Clear
Check
11-22
Page 393
Using Screen Mapping
11
Field
Description
Value
Default
Error retries
These option buttons determine if the controller 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 controller 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.
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 controller sends a message to the source of the transaction when the last transaction is received in batch mode.
Check, Clear
Check
Audit Options
Determines the level of auditing the controller performs.
Off, On, No continue
Off
11-23
Page 394
Model 200 Controller User’s Manual
To set options for the entire script 1. From the Script Builder Tools window, choose Script. 2. Choose Options. The Runtime Script Options dialog box appears. 3. In the Response timeout field, enter the number of minutes you want the controller to wait for a host busy condition to clear. 4. Enable the Reset on timeout check box if you want to send a Reset key to the host when it is busy. 5. Choose the appropriate option button that determines if the controller retries the connection to the host application when an error occurs. If you choose Limit, enter the number of times you want the controller to retry the connection. 6. In the EHLLAPI mnemonic field, enter the character that you want to represent special keys. This character must not occur in any static text of a message or in any script keystroke name. 7. (VT/ANSI only) In the Data response timeout field, enter the number of milliseconds of inactivity you want the controller to wait before it assumes that the host is ready for the next transaction. 8. In the Concatenation char field, enter the character that you want the script to use to concatenate components of a message. This character must not occur in any explicit string of the script. However, this character may appear in transaction data. 9. Enable the Process batch transactions check box if you want the controller to process batch transactions. 10. Enable the Send to source when batch transaction received check box if you want the controller to send a message to the source of the transaction when the last transaction in batch mode is received. Note: If the Process batch transactions check box is not enabled, this check box is disabled.
11-24
Page 395
Using Screen Mapping
11
11. Choose the level of auditing you want the controller to perform. If you enable auditing, when a non-fatal error occurs, the controller 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. 12. Choose OK to return to the Script Builder Tools window. Choose Defaults if you want to set this dialog box to default values.
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 controller waits before it assumes that the host is finished sending data. That is, the controller listens on the TCP/IP socket and if there is no activity and the timeout period expires, the controller performs the next action. However, there is no guarantee that the host is finished sending data. Note: The controller 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 controller to your network environment. If you set the data response timeout too long, it will affect controller performance because your throughput will be slower. If you set the value too short, you may experience timing problems with your host.
11-25
Page 396
Model 200 Controller User’s Manual
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 controller encounters a critical error. Before you can capture keystrokes, you need to start a temporary host session. For help, see “Creating a New Script File” earlier in this chapter.
11-26
Page 397
Using Screen Mapping
11
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.
11-27
Page 398
Model 200 Controller User’s Manual
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. 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
11-28
“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.
Page 399
Using Screen Mapping
11
Creating a Normal Logoff Sequence The normal logoff sequence contains keystrokes that exit you from the host application from the main host screen.
11-29
Page 400
Model 200 Controller User’s Manual
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.
Example Keystrokes Appearing in Normal Logoff Sequence
11-30
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.