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 22 of 35

5250 Terminal Emulation Programmer's Reference Guide: Section 8: Display Data Stream, pages 186 to 194

Pages 186 to 194 of 318, from 5250 Terminal Emulation Programmer's Reference Guide

The original document is the PDF (1.3 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 6400

Page 186

SECTION 8

"

Display Data Stream

Set Buffer Address (SBA) Order Function. The SBA order specifies a new buffer address from which operations are to start or continue. You can use the SBA order to: " "

"

Write data into various areas of the buffer. Precede another order in the data stream to specify the starting address for a Repeat to Address. Specify the address at which an attribute byte is stored by a Start of Field order.

Restrictions. A parameter error is posted when: " " "

Fewer than 2 bytes follow the order. The row address is equal to 0 or greater than 24. The column size equals 0 or is greater than 80.

Default. When the SBA is not specified in the Write To Display (WTD) command, the data starts at row 1, column 1. This is where the WTD command initialized it. Format. The SBA order takes the following form: SBA Order

Row Address

Column Address

Hex 11

Hex 01

Hex 01

Row addresses begin with 1, as do column addresses. However, the wireless station accepts column address hex 00 and translates it to column 1.

Start of Field (SF) Order Function. The SF order defines input and output fields. If an input field is being defined, it also resets any pending AID byte and locks the keyboard.

8-28

5250 Terminal Emulation Programmer’s Reference Guide

Page 187

SECTION 8

" NOTE:

"

Display Data Stream

Although this order can be used for output fields, it is not recommended because it degrades performance. Use the SBA order instead.

Format. SF order takes the following form with minimal information: SF Order

Attribute

Length

Hex 1D

Hex 01

Hex 0012

You may also include format and control information in the SF order. In these cases it takes one of the following forms: " NOTE:

Brackets around “format” and “control” headings indicate these fields are optional. SF Order

[Format]

Attribute

Length

Hex 1D

Hex 4000

Hex 01

Hex 0012

SF Order [Format]

[Control] ] Attribute

Length

Hex 1D

Hex 8102

Hex 0012

Hex 4000

Hex 01

You can only include the control word after you have provided a format word. You can also insert several control words between the format and attribute portions of the SF order, but these control words are not required. Table 8-6 describes the format portion, Table 8-8 the control portion, and Table 8-9 the attribute portion of the SF order. The 2-byte Field Format Word (FFW) contains the information described in Table 8-8. The two most significant bits (15 and 14) must always be hex 01. See Table 8-6 for descriptions of bits 13 through 0.

5250 Terminal Emulation Programmer’s Reference Guide

8-29

Page 188

SECTION 8

"

Display Data Stream

Table 8-6 Field Format Word for Start of Field Order Bit 15 is the most significant bit.

8-30

Bit Number

Description

14--15

Always 01 (reserved)

13

0 = Nonbypass field 1 = Bypass field

12

0 = Duplication not allowed 1 = Duplication allowed

11

0 = Field has not been modified (MDT) bit 1 = Field has been modified

10--8

000 = Alpha shift 001 = Alpha only 010 = Numeric shift 011 = Numeric only 100 = Katakana shift (not supported) 101 = Digits only 110 = I/O (feature input field) 111 = Signed numeric

7

0 = Auto enter disabled 1 = Auto enter when field is exited

6

0 = Field Exit key is not required 1 = Field Exit key is required.

5

0 = Accept lower case letters 1 = Translate lower case to upper case

4

Reserved

3

0 = No mandatory entry 1 = Mandatory entry

2--0

000 = No adjustment 001 = Reserved 010 = Reserved 011 = Reserved 100 = Reserved 101 = Right adjust, zero fill 110 = Right adjust, blank fill 111 = Mandatory fill

5250 Terminal Emulation Programmer’s Reference Guide

Page 189

SECTION 8

"

Display Data Stream

FCWs (2 bytes each) are optional. The user program can use the WTD command to send FCWs to the controller. When FCWs are used, they should follow the FFW of the SF order. An FCW encountered during modification of an existing format table entry is ignored. The LU does not accept an FCS of hex FFxx. Table 8-7 lists valid FCWs and functions supported by the wireless stations. Table 8-7 Field Control Words Value (Hex) 80nn

Function Entry field resequencing. The “nn” specifies the next entry field in the sequence (hex 00 to 80).

8101

Magnetic stripe reader (MSR) entry field.

8103

MSR and selector light pen (SLP) entry field.

84nn

Transparency entry field. The “nn” is any two digits.

B140

Self-check modulus 11 entry field.

B1A0

Self-check modulus 10 entry field.

The first FCW of any type is used; subsequent FCWs of the same type are ignored. The controller does not check to see if the FCWs are formatted correctly or if the requested function is installed. During subsequent command and keystroke processing, the controller detects and reports these errors to the host if the FCW is required. FCWs types are as follows. "

Resequencing. Resequencing enables the controller to send the input fields to the host in any specified order. Resequencing is done by chaining input fields with FCWs that specify the desired order of transmission. The resequencing FCW takes the following format: 5250 Terminal Emulation Programmer’s Reference Guide

8-31

Page 190

SECTION 8

"

Display Data Stream

Bits

Description

0--1

B 10

2--7

B 000000

8--15

The normal sequence position of the next field to be returned to the host. (The first field on the screen is number 1. Field numbers progress sequentially, left to right and top to bottom.)

Bit 3 of the Start of header (SOH) order contains the number of the field to be sent. If the first field identifier in the SOH is zero, resequencing does not occur. That is, all resequencing FCWs are ignored. Fields are sent to the host in the order defined in the format table. If resequencing occurs, the last field to be sent to the host must contain this FCW: Bits

Description

0--1

B 10

2--7

B 000000

8--15

B 11111111

Notes. The following apply: If FCWs create a closed loop, the controller detects the error and stops the transmission. " An FCW for each field is not required. An FCW pointing to the next sequential field is assumed if no resequencing FCW is specified. The last field in the format table must have a resequencing FCW. MSR. MSR enables the scanner for an input field. "

" " "

8-32

SLP. SLP is accepted, but ignored. Transparency. Transparency defines a field that can contain data of any value.

5250 Terminal Emulation Programmer’s Reference Guide

Page 191

SECTION 8

"

"

Display Data Stream

Self-Check. Self-check on the controller provides additional integrity for data entry. All field types can be specified for self-checking. The following requirements must be met when specifying a field for selfchecking: " An FCW must be defined for the field. Hex B1A0 selects Modulus 10 checking, and hex B140 selects Modulus 11. " Field lengths for checking are restricted to 33 positions. For signed numeric fields, only 32 positions can contain digits and the sign is not checked. If more than 33 characters are given a LUSTAT parameter error results. Self-check resolves fields and conditions as follows: "

The function converts nonnumeric characters (including nulls and blanks) by using the four low-order bits from their EBCDIC representation when the low-order bits are in the range 0--9. For example, A in EBCDIC is C1, thus A = 1. R in EBCDIC is D9, thus R = 9. A “0” replaces all other characters with the four low-order bits in the range of A through F. For example, % is EBCDIC 6C, thus % = 0. Null and blank characters also convert to 0. All high-order nulls, zeros, and blanks in a field are converted to 0 and do not affect the value of the check number.

An all-null field checks correctly. This field can result when the operator unsuccessfully tried to enter digits into a field and checking fails. The controller enables the operator to exit the field from the first position by using the Field Exit key. Following are field descriptions. "

5250 Terminal Emulation Programmer’s Reference Guide

8-33

Page 192

SECTION 8

"

Display Data Stream

Field Type

Description

Alpha only

Accepts only the characters A--Z (uppercase and lowercase) and the , . -- and blank space.

Alpha shift

Accepts all data keys. The shift keys are acknowledged.

Auto enter

When the operator uses [FIELD EXIT] key to leave this field or puts the last character in the field, the wireless station treats the action as if the operator pressed [ENTER]. Operator cannot put entries in this field. Attempts to enter data cause a keying error.

Bypass Digits only

Operator can only put the characters 0--9 in this field. The [DUP] key is allowed if enabled.

Duplication

Allows operator to use the [DUP] key. When the operator presses [DUP], the controller fills the field from the cursor to the end of the field with “1C.” (Typically the host program uses this to place data from a previous record into the field when it receives the data.) An overstruck asterisk is displayed for the “1C” characters.

Field Exit key required

Operator can only exit the field by pressing a non-data key such as [FIELD EXIT] or other cursor-moving key.

I/O

Only the scanner can put data in this field.

Mandatory entry

The operator must put data in this field before pressing [ENTER] or another AID-generating key.

Mandatory fill

When the operator begins putting data into this field, they must completely fill it before exiting from it.

Modified

Marks this field as modified.

Numeric only

Accepts only the characters 0--9 and the symbols + , . -- and blank. [FIELD+] exits the field with a positive number; [FIELD--] with a negative number. [FIELD EXIT] exits the field as entered with the sign specified by the host. The controller marks a minus field by changing the high nibble of the last byte to “B” unless a + , . -- or blank is in that byte. These characters cause an error to occur.

8-34

5250 Terminal Emulation Programmer’s Reference Guide

Page 193

SECTION 8

"

Display Data Stream

Field Type

Description

Numeric shift

Accepts any data characters.

Right- adjust

When the operator exits the field, the controller shifts the contents to the right and fills on the left with zeros or blank spaces, as specified. Bits 13--15 can be 0. This allows the operator to make entries into any part of the field without any subsequent position adjustment. When the controller sends the field to the host, it also sends whatever is in the field (nulls if a Clear Unit command was received).

Self-check

Modulus 10 self-check fields perform a mod 10 check on the input. Modulus 11 self-check fields perform a mod 11 check on the input. The controller performs these checks when the operator exits the field. If the checks fail, an input error is indicated and the Input Inhibited annunciator is turned on. The operator must press the [RESET] key to clear the condition.

Signed numeric

The radio data network checks data by doing the appropriate modus on the low four bits of the characters in the field. If the low four bits are within the range “A” through “F,” zero is used in the modulus calculation. Only the characters 0--9 are allowed. The last byte of the field is reserved for the sign character. The operator cannot place data in this location. If the operator presses [FIELD--] to exit the field, the last character is set to “--” and the field is right adjusted. The high nibble of the last digit input is set to “B.” If the operator uses [FIELD+] or [FIELD EXIT] to exit the field, the last character is set to blank and the field is right-adjusted. The “--” or “blank” is sent in response to Read Input Fields or Read MDT Fields commands.

5250 Terminal Emulation Programmer’s Reference Guide

8-35

Page 194

SECTION 8

"

Display Data Stream

Table 8-8 describes the control portions of the SF order. Table 8-8 Start of Field Control Word Hex Code

Description

80XX

Resequencing, “xx ” defines next field number

80FF

Resequencing, terminator

8101

Enable scanner (extended 5250); this is IBM’s MSR option

8102

Reserved (extended 5250)

B1A0

Modulus 10 self-check

B140

Modulus 11 self-check

Table 8-9 describes the attribute portions of the SF order. Table 8-9 Start of Field Attributes Hex Code

Description

20

Normal (dark characters on light background)

21

Reverse image (light characters on dark background)

24

Underscore

28

Blink (RT1700 Series and RT5900 Series only)

2F

Nondisplay

30

Column separator

Results. The SF order does the following: "

8-36

The display address is set to the end-of-field address (as specified by the last SF order + 1). This does not happen if this is the first SF order or if an SBA order precedes it (the SBA points at the field starting attribute).

5250 Terminal Emulation Programmer’s Reference Guide