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 44 of 70

Model 200 Controller System Manual, pages 431 to 440

Pages 431 to 440 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 431

Using Screen Mapping

11

Maintaining the Host Screens The Maintain Screen List dialog box lets you add any new host screens that you did not create when you defined the host screen sequences. You can also edit and delete host screens. Note: You cannot delete or remove the main host screen from the Selected Screens list box. To delete or remove the main host screen, you must edit the Logon Sequence dialog box and select a new main host screen.

11-61

Page 432

Model 200 Controller User’s Manual

Field

Description

Value

Default

Selected Screens

This list box contains the host screens that receive transaction data from the current transaction.

None

None

Available Screens

This list box contains all the host screens that are available to use.

Predefined

None

To maintain the host screens 1. From the Script Builder Tools window, choose Screen. 2. Choose Screen List. The Maintain Screen List dialog box appears. 3. Add to the Selected Screens list box all the host screens that receive transaction data from the current transaction. a. From the Available Screens list box, select a host screen to be added to the Selected list box. b. Choose Select. 3. Remove from the Selected Screens list box any host screens that do not receive transaction data from the current transaction. a. From the Selected Screens list box, select a host screen to be removed. b. Choose Remove. 4. Add, edit, or delete any host screens in the Selected list box. For help, see “Adding a Host Screen” later in this chapter. Note: You may not be able to delete the host screen if other transactions send data to it. Instead, a message box appears. 5. (Optional) In the Selected list box, select a current host screen and choose Current! The description of the screen appears in the Selected Screen Description box and you can now define host screen fields and regions for it. 6. Choose OK to return to the Script Builder Tools window.

11-62

Page 433

Using Screen Mapping

11

Adding a Host Screen Each host screen definition corresponds to a different host screen. The screen identifier is any string on a host screen that makes the host screen unique.

Field

Description

Value

Default

Screen label

A unique name for the screen

1 to 20 alphanumeric characters

None

Description (Optional)

A description for the screen.

1 to 255 characters

None

Row

The row position on the host screen of the first character of the screen identification string.

1 to 24

None

Column

The column position on the host screen of the first character of the screen identification string.

1 to 80

None

Screen ID

The identification string on the host screen that makes the screen unique.

1 to 80 alphanumeric characters

None

11-63

Page 434

Model 200 Controller User’s Manual

To add a host screen 1. In the Maintain Screen List dialog box, choose Add. The Host Screen Definition dialog box appears. 2. In the Screen label field, enter a unique name for the host screen. 3. (Optional) In the Description box, enter a paragraph of text that describes the host screen. 4. Enter the position of the first character and contents of the screen identification string. a. In the Row and Column fields, enter the position of the first character of the screen identification string. b. In the Screen ID field, enter the screen identification string. Spaces are allowed. Or, use the Get Field feature to automatically select the location and contents of the screen identification. For help, see “Getting the Screen Identifier From the Host Screen” later in this chapter. 5. Choose OK to return to the Maintain Screen List dialog box.

Getting the Screen Identifier From the Host Screen In 5250 field-formatted host screens, there are two types of fields: protected and unprotected. Protected fields are fields that you cannot write over and are usually text on the host screen. Unprotected fields are usually input fields. To get the screen ID from a host screen field, you should use protected fields that contain static text. Position the host cursor anywhere in a protected field and then choose Get Field. The Script Builder fills in the Screen Identifier box with the current host cursor position, and it fills in the contents and length of the field from the host cursor position to the end of the field. If the host cursor is in an unprotected field when you choose Get Field, an error message occurs. 3270 field-formatted host screens do not differentiate between protected and unprotected fields. All fields are treated like protected fields. When you choose Get Field, the Script Builder fills in the Screen Identifier box with the host cursor position, and it fills in the contents and length of the field from the host cursor position to the end of the field.

11-64

Page 435

Using Screen Mapping

11

VT/ANSI host screens are not field-formatted host screens. To get the screen ID from a host screen field, you must highlight the entire host screen field before you choose Get Field. If nothing is selected when you choose Get Field, an error message occurs. To get the screen identifier from a host screen 1. Start a temporary host session. For help, see “Starting a Host Session” in Chapter 10. 2. In the host window, open the host screen that contains the field that you need to define. 3. In the host window, place your cursor on the screen identifier. Note: In VT or ANSI host screens, you must select the entire screen identifier. 4. In the Host Screen Definition dialog box, choose Get Field. The Screen Identifier box is populated with the attributes of the field. 5. If necessary, edit the information in the fields. 6. Choose OK to save your changes and return to the Host Screen List dialog box. 7. Repeat Steps 2 through 6 until you have defined all the host screens.

Defining User Blocks In the Script Builder Tool, you cannot modify the script that has been automatically generated. However, you can add user blocks after any line in the script that has a plus (+) sign in the left margin. When you define user blocks, you can insert script comments or commands that the Script Builder cannot generate. For help, see the Model 200 Controller Technical Reference Manual. Note: If you open your script file in any text editor, Script Builder will no longer recognize the file. However, you can still use your script file for screen mapping.

11-65

Page 436

Model 200 Controller User’s Manual

When you open the User Block List dialog box, you may see these symbols to the left of lines in the script: + A plus sign indicates places where you can enter user blocks. < The less than sign precedes existing user blocks. > The greater than sign precedes both INPUT_FIELDS and REGIONS. :: Two colons indicate a new screen description. This symbol should precede a screen label. :

A single colon precedes the label of a field or region.

# The pound sign denotes comment lines. To define a user block 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 the script to which you want to add user blocks. 4. Choose OK. The script opens. 5. Choose User Blocks. The User Block List dialog box appears.

11-66

Page 437

Using Screen Mapping

11

6. Add, edit, or delete user blocks. For help, see “Adding a User Block” later in this chapter. 7. Choose Close to return to the Script Builder Tools window.

11-67

Page 438

Model 200 Controller User’s Manual

Adding a User Block You can add user blocks after any line in the script that has a plus (+) sign in the left margin. Make sure you use the pound (#) character before any script comment. Note: Do not use the Tab key to add spaces before your user block. The Tab key will only shift the focus to the next control. The Script Builder Tool stores the user blocks in certain data structures so that it can reload them when the script file is closed and then reopened. If you delete a data structure, you may lose any user blocks that are associated with it. For example, you add a user block, BLOCK1, that contains a comment after a specific PUT_TRANS_FIELD command. If you delete the host screen field that generated the command, BLOCK1 is also deleted. To add a user block 1. In the User Block List dialog box, select where you want to add the user block. 2. Choose Add After. The User Block Text dialog box appears.

3. Enter the comment or command. 4. Choose OK to return to the User Block List dialog box.

11-68

Page 439

Using Screen Mapping

11

Viewing the Script This feature provides you with a hierarchical view of the current script. Since the logic flow of the script is driven by transactions, the View Script feature displays the transactions as the top level in the script structure. You can expand the transaction level to see the host screens that receive data from the transaction. You may see these symbols in the script: + A plus sign indicates where you can expand the script. -

A minus sign indicates where you can collapse the script.

To view the script 1. From the Script Builder Tools window, choose View Script. The View Script Structure dialog box appears with the name of the script in the title bar.

2. Scroll through the script. A plus (+) on the left side of a line indicates that more information is underneath the heading that is collapsed.

11-69

Page 440

Model 200 Controller User’s Manual

3. Double-click on a line with a + on the left side to expand it. Or, double-click on a line with a minus (-) on the left side to collapse it. 4. Choose Collapse All to collapse all lines that are expanded. 5. Choose Close to return to the Script Builder Tools window.

Checking a Script File When you finish editing the script file, you can use the script checker to check it for correct syntax. Intermec has also provided some general guidelines to help you check the logic of your script file. Always verify the script syntax before you verify the script logic.

Verifying the Script File Syntax You can use the script checker to check your script file for correct syntax. However, the script checker cannot check the logic. For help checking the logic of your script file, see “Verifying the Script Logic” in the next section. Note: You can also check your script file syntax in the Screen Mapping Session Definition dialog box. To check for correct syntax 1. From the Script Builder Tools window, choose Script. 2. Choose Check Script. The script checker checks the current script for syntax errors. The Model 200 Controller View Results window appears listing the errors that the script checker found. Refer to an example window on the next page. 3. Note the error messages, if any. If you use the Script Builder Tool to create your script, you should not have any errors. You may see some warnings that you can ignore. 4. You may have errors in the user blocks. Edit the user blocks to correct the errors. 5. Repeat Steps 1 through 4 until the Model 200 Controller View Results window lists no more errors.

11-70