The text of a manual · part 28 of 46
DCS 300 User's Manual, pages 271 to 280
Pages 271 to 280 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 271
Using Screen Mapping
Screen 4 (Menu Option 915)
Screen 5
Screen 6 (Menu Option 910)
Screen 7
11
11-13
Page 272
DCS 300 User’s Manual
Understanding How the Script Builder Tool Flows Use this table and the flow chart on the next page to help you understand how to use the Script Builder Tool. Step
Button Names
Description
1
New/Open
Start data collection on the server. Choose Script and then New/Open to create a new script file and select a temporary host session for capturing keystrokes.
2
Logon
Choose Host Access and then Logon. Capture the keystrokes that take the user from the logon screen to the main host screen. Define the main host screen. This host screen becomes the current screen.
3
Transaction
Choose Transaction. Select a current transaction by either adding a new transaction or selecting an existing transaction and choosing Current.
4
Field List
Choose Screen and then Field List. Define the host screen fields (input fields) that are used on the current screen. The script maps transaction fields to these fields.
5
Region List
Choose Screen and then Region List. Define the regions for the current screen. Regions can handle errors on the host screen and they can output data.
6
Next Screen
Choose Screen and then Next Screen. Define the next host screen. This host screen becomes the current screen. Go to Step 4 (1 in the flow chart) to define fields and regions for the current screen. Go to Step 3 (2 in the flow chart) to choose a new current transaction. Go to Step 7 (3 in the flow chart) when you have finished adding all the transactions. The last screen should be the main host screen.
11-14
7
Normal Logoff
Choose Host Access and then Normal Logoff. Capture the keystrokes that take the user from the main host screen to the logoff screen.
8
Abnormal Logoff (Optional)
Choose Host Access and then Abnormal Logoff. Capture the keystrokes that take the user from any screen to the logoff screen.
9
Save
Choose Script and then Save. Save the script file. You should save the script file periodically while you work.
Page 273
Using Screen Mapping
11
Script Builder Tool Flow Chart New Script
Logon Sequence
Define Main Host Screen
Select Transaction
Define Fields
Define Regions o n
Define Next Screen p Normal Logoff Sequence
Abnormal Logoff Sequence
Save Script
11-15
Page 274
DCS 300 User’s Manual
Using the Script Builder Tool To use screen mapping, you need to create a script file. If you want to capture keystrokes on the host screen for a logon, a normal logoff, and an abnormal logoff, you need to start a temporary host session. You also need to start a host session if you want to get host attributes from the host screen. From the main menu, choose Screen Mapping and then Script Builder. The Script Builder Tools window opens. All of the toolbar buttons for the major script building tasks are considered primary or configuration buttons. These buttons contain a check mark in the upper right corner, such as the New/Open button. All buttons for secondary or maintenance tasks contain a blue wrench in the upper right corner, such as the View Script button.
11-16
Page 275
Using Screen Mapping
11
Creating a New Script File 1. From the Script Builder Tools window, choose Script. 2. Choose New/Open. The New/Open Script dialog box appears.
Field
Description
Value
Default
Script name
The unique name of the script you are creating or opening.
1 to 8 alphanumeric characters
None
Description (Optional)
A paragraph of text that describes the script.
1 to 255 characters
None
Session ID (Optional)
The session ID that you want to use when creating this script.
Predefined
None
Note: This temporary host session does not have to be the same host session as the runtime screen mapping session you associate with the script.
11-17
Page 276
DCS 300 User’s Manual
Opening an Existing Script File You need to start a temporary host session to capture keystrokes for logon, logoff, and abnormal logoff sequences. You also need an active host session if you want to use the Get Field feature. To open an existing script 1. From the Script Builder Tools window, choose Script. 2. Choose New/Open. The New/Open 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 scripts appears. Choose a script. 4. (Optional) In the Session ID field, click the down arrow on the right side of the field. A list of session IDs appears. Choose a session ID. Note: If you have started data collection on the server, you cannot choose any session that is currently being used. 5. (Optional) Choose Start Session. The host window opens. 6. Choose OK to return to the Script Builder Tools window.
Saving the Script File You should periodically save your script while you are working on it. When you choose OK in a dialog box, the changes are temporarily stored in RAM. Choose Save or Save As to store your changes to disk. Note: This toolbar button will not be available until you make changes to a new or existing script file. To save a script 1. From the Script Builder Tools window, choose Script. 2. Choose Save. The script is saved to disk.
11-18
Page 277
Using Screen Mapping
11
Copying a Script File 1. Open the script file that you want to copy. For help, see “Opening an Existing Script File” earlier in this chapter. 2. From the Script Builder Tools window, choose Script. 3. Choose New/Open. The New/Open Script dialog box appears. 4. In the Script name field, click the down arrow on the right side of the field. A list of existing scripts appears. Choose a script to copy. 5. Choose Save As. The Save Script As dialog box appears.
6. In the Script name field, enter a unique name for the new script. Or, click the down arrow on the right side of the field. A list of existing script names appears. Select one. 7. In the Description box, enter a new description for the script. 8. To assign new transactions to the new script, check the Use different transactions check box. The Save As Script With Different Transaction Names dialog box appears. Or, clear this check box if you want to assign new transactions later while you are editing the script. Note: If the current script does not have any transactions assigned to it, the check box is grayed out.
11-19
Page 278
DCS 300 User’s Manual
Save As Script With Different Transactions Dialog Box
9. In the Transaction name field, enter the name of the new transaction and choose Change Name. The old and new transaction names appear in the Old Transaction Name - New Transaction Name list box. Or, in the Available Transactions list box, select the transaction that you want to use. Choose Replace Old Name. The old and new transaction names appear in the Old Transaction Name - New Transaction Name list box. 10. If you want to restore the old transaction name or if you want to choose another new transaction name, select the old transaction name from the Old Transaction Name New Transaction Name list box and choose Restore Old Name. 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.
11-20
Page 279
Using Screen Mapping
11
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 280
DCS 300 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. Choose Defaults if you want to set this dialog box to default values. 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.
Field
Description
Value
Default
Response timeout
Sets the number of minutes that the server waits for a “host busy” condition to clear.
1 to 9999
2
Reset on timeout
This check box determines if the server sends a Reset key to the host if the host is busy.
Check, Clear
Check
11-22