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 32 of 46

DCS 300 User's Manual, pages 311 to 320

Pages 311 to 320 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 311

Using Screen Mapping

11

Transaction Message Example Terminal

Host

Trx containing 01234

0300U.046

Terminal

Host

Trx containing 01234,30

0300U.047

11-53

Page 312

DCS 300 User’s Manual

Changing the Order of Screen Events You can change the order of screen events and you can change the order of the regions within a region group. As each host screen appears, certain screen events can occur. These events include • mapping terminal (transaction) fields to host screen fields.

• handling regions in the host screen.

• sending screen messages.

The events listed below are not screen events and you cannot change the order in which they occur. They are: • going to a next screen. Next screen allows the script to go to another host screen after finishing all the screen events.

• sending region messages. Region messages are sent to the source of the transaction when a region appears or does not appear in a host screen. The send message action is completed when processing a region event.

To change the order of screen events 1. From the Script Builder Tools window, choose Screen. 2. Choose Event Order. The Screen Event Ordering dialog box appears.

3. In the Screen Events list box, select the event you want to move. Events occur in order starting from the top. 4. Choose Up or Down to move the event to the appropriate place. 5. Choose OK to return to the Script Builder Tools window.

11-54

Page 313

Using Screen Mapping

11

To change the order of regions within a region group 1. From the Script Builder Tools window, choose Screen. 2. Choose Event Order. The Screen Event Ordering dialog box appears. 3. In the Screen Events list box, select the region that you want to move. 4. Choose Up or Down to move the region to the appropriate place. 5. Choose OK to return to the Script Builder Tools window. Note: Regions that match on a specific string are checked before regions that match on any string. You may need to be aware of this feature if you have regions that overlap. Note: Region actions (events) that occur within region groups are mutually exclusive. That is, when the script identifies a region and that region is in a region group, the script performs the actions that are defined for the region. It ignores all other actions that occur for other regions in the group.

11-55

Page 314

DCS 300 User’s Manual

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. 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. 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. If you want to define host screen fields and regions for a different host screen, you can also select a new current host screen and choose Current! The description of the screen appears in the Selected Screen Description box. 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.

11-56

Page 315

Using Screen Mapping

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

11

11-57

Page 316

DCS 300 User’s Manual

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. Get Field button If you started a temporary host session for this script, you can use the Get Field feature to automatically select the location and contents of the screen identification. On the host window, position your cursor on the first character of the field. Choose Get Field. The Row, Column, and Screen ID fields are filled with values. For help, see “Getting the Screen Identifier From the Host Screen” later in this chapter. To add a host screen •

11-58

In the Maintain Screen List dialog box, choose Add. The Host Screen Definition dialog box appears.

Page 317

Using Screen Mapping

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 and spaces

None

11

11-59

Page 318

DCS 300 User’s Manual

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. 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.

11-60

Page 319

Using Screen Mapping

11

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 DCS 300 Technical Reference Manual. Note: If you open and then save your script file in any text editor, the Script Builder Tool will no longer recognize the file. However, you can still use your script file for screen mapping. 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-61

Page 320

DCS 300 User’s Manual

User Block List Dialog Box

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-62