• Keine Ergebnisse gefunden

CD Not used

Im Dokument IBM 5280 (Seite 110-119)

100 Check Indicator for Bypass: A check indicator for bypass control group is located at the beginning of and at the end of the end of the section of control string to be conditionally bypassed. If the indicator has the value specified for bypass, all field, display attribute, constant insert. and prompt specifications are bypassed.

However, the cursor and current record buffer pointer are moved past the space on the screen and in the current record buffer where the bypassed fields, display attributes, constant inserts, and prompts would have appeared. If the bypass specifications are encountered in a forward direction, the current field counter is incremented by the number of fields bypassed. If the bypass specifications are en-countered in a backward direction, the current field counter is decremented. If a return to program (RG), change buffer position pointer (BFPS), change screen position pointer (CSPS), or control specification to change status is encountered during bypass, it is processed as normal. If an execute secondary format (ES) specification is encountered, the fields and control specifications of the secondary format are processed as described above for a bypass.

The check indicator for bypass control group has the following format:

Byte Group 10

o

1 = Beginning of format string byte groups to bypass.

0= End of format string byte groups to bypass.

G

1 = Bypass if the indicator is off.

o

= Bypass if the indicator is on.

e

Not used.

• Not used.

o

Indicator Number (0-127)

Main Storage Data Areas 105

101 Execute Secondary Format: The execute secondary format control group causes the keyboard/display microprocessor to interrupt processing this string, process a secondary controi string, and return to ihis string. The forrnat of the execute secondary format control group is as follows:

--- ,

10,0,0,0""""10,,, ",0,11 ,

1 = Last byte of the control group.

I

, 10, , I , , , ,

II, , , , ,

Byte Group ID Control Code

I , I

e

Not used.

e

Index into the system table for screen format control strings, where the address of the secondary format is stored, if the index is less than 128;

otherwise this byte contains 7F and the index is specified by the following 2 bytes.

• If the previous byte is 7F, these bits specify the index into the system table, where the address of the secondary format is stored.

111 Change Keyboard Flags: The change keyboard flags control group causes the microprocessor to change the status of the keyboard flags. That is, if the flag is on, it is turned off; if it is off, it is turned on. The keyboard flags are turned off at the start of the processing of each ENTR command.

Byte Group 10 Control Coch!

r

0 I 0 I 0 , 0 : 1 I 1 , 1 I l' /1

o

1

=

Change the status of the Dup key enable/disable flag.

e

1

=

Change the status of the monocase enable/disable flag.

e

1 = Change the status of the Field Exit key enable/disable flag.

CD

1 = Change the status of the special verify mode enable/disable flag.

Data Field Byte Groups

A data field byte group specifies the format of a data field as it is entered via the keyboard, displayed on the scr~en, and stored in the current record buffer. The field starts at the current screen position and current record buffer pointer position.

Data fields longer than 1 byte require a length specification in the data field format group as shown in the following diagram:

Byte Group 10 1 = Last byte of the group.

I

, I

, I I ,

i i

I I I I

10 '_' _,_,--.-__ Il ' __

'-r---' _ _

Il

o

Byte Group ID-Must specify one of the following:

0000 (picture check) 0001 (alphabetic) 0010 (numeric) 0011 (hexadecimal) 0100 (Katakana)

0101 (format level 0) 1001 (alphabetic only) 1010 (numeric only) 1011 (digits only) 1100 (Katakana only)

e

Field length minus 1 if the field length is less than 128; otherwise, this byte contains 7F and the following 2 bytes specify the length minus 1.

• If the previous byte is 7F, these bits specify the length minus 1 of the field.

A data field with only the following attributes requires only the byte group ID and (if the field is longer than 1 byte) the field length byte(s) to describe the field in the screen format control string:

• Basic field

• Format level zero field

• Right adjust field

• Field exit required field

• Manual duplicate field from the previous buffer

A data field with additional attributes requires additional bytes to specify field attributes, storage duplication areas, or picture specifications.

Main Storage Data Areas 107

Field Attributes and Storage Duplication Group

Field attributes may be specified with i or 2 bytes, as necessary. For store and duplicate fields, the attribute byte(s) must be followed by additional byte(s) that specify where to find the address of the duplicate or store area. The format is as follows:

Byte Group 10

and Length byte (s)

I

r-- - - - 1

=

Last byte of the group.

~ I~~l j ir-'-T-'-~a-r-'-f-L~fi~IOL...-....I-' II ~~i..l....y-l-,o.i....&....r-L.~i....l..r-'-l~ ~

• 1 = Another attribute byte follows this attribute byte.

G

1 = Main storage duplicate field.1

• 1

=

Verify bypass field.

e

1 == Signed numeric field.

• 1

=

Data required field.

• 00 = Field is not auto dup, auto skip, or bypass.

01 == Auto skip field.

10 = Auto dup field.

11 = Bypass field.

CD

Not used.

o

1 = Main storage store field.1

• 1

=

Right to left field.

• 1 = Absolutely automatic field.

o

1

=

Blank check field.

• 1 = Mandatory enter field.

• 1 == Mandatory fill field.

Picture Check Subfield Group

Following are the specifications for picture check subfields:

Byte Group 10 and Length Byte(s)

~l'"

Picture Check Subfield Byte (1 byte for each subfield)

Field Attribute Byte(s): See Field Attributes and Storage Duplication Group, the previous topic in this section.

• G

1

=

Last byte in this group.

. Subfield Length Minus 1 (0-7).

0001 = Subfield is alphabetic.

0010 = Subfield is numeric.

0011

=

Subfield is hex.

0100 = Subfield is Katakana.

1001 = Subfield is alphabetic only.

1010 = Subfield is numeric only.

1011 = Subfield is digits only.

1100 = Subfield is Katakana only.

Main Storage Data Areas 109

Constant Insert Data and Prompts

Constant insert format groups specify the ioeation and the iength of constant insert data to be moved to the screen and inserted into the current record buffer. Prompt format groups specify the length and location of a prompt to be moved to the screen fixed prompt line or to current screen position. Following are the control string specifications for constant insert and prompts:

Byte Group 10 1 = Last byte of the group.

I

e

0110 = Fixed position prompt.

0111 = Standard prompt or constant insert.

o

Index into the system table for prompts, where the address of the prompt is stored if the index is less than 126; otherwise this byte is 7F and the index is specified in the following 2 bytes. For constant inserts, this byte must be 7F.2 If this byte is xxOOOOOO, the fixed prompt line is cleared. 1

• 1 = Specification is for constant insert data.

o

= Specification is for prompt.

• If the previous byte is 7F, these bits specify the index into the system table, where the address of the constant insert or prompt is stored.

• Length minus 1 of the constant insert or prompt if the length is less than 128;

otherwise, this byte is 7F and the length minus 1 is specified by the following 2 bytes.l

o

If the previous byte is 7 F, these bits specify the length minus 1.1

llf clear the fixed prompt line is specified, the prompt line is cleared (the number of positions specified in the length bytes of the format group) beginning with the first position of the line. If the length is not specified in the format group, the full line is cleared.

21f the constant insert or prompt is stored within the partition, the address of the system table is in bytes hex 00 and OE (address hex 80 and 8E relative to the start of the partition) of the keyboard/

display lOB. If the constant insert or prompt is stored within the common area, the address of the system table is in bytes hex FE and FF of the system control block.

Display Attributes

A display attribute format specification consists of 2 bytes, the format identifier and a display attribute byte, as shown below. The display attribute is moved to the screen at the current screen position.

Byte Gro.up ID elf 111, display is inhibited.

I

I I 11111110'~'1,,~~ ~

" 1 = Last byte in the group.

e

Not used.

• 1= Column separators displayed.

CD

1 = Blink.

G

1 = Underline.

o

1 = High intensity.

CD

1 = Reverse image.

EDIT FORMAT CONTROL STRINGS

Control information and field descriptions are specified by groups of bytes in an edit format control string. The order in which the control string is assembled is the order in which the string is processed. The following diagram is a general tion of an edit format control string. Following this general description is a descrip-tion of each type of specificadescrip-tion that can be in the control string.

Main Storage Data Areas 111

"

"

r---Byte Groups: Repeated for each field in the edit format controi string.

I

'I

Header bytes: 3 header bytes always begin a format control string. If data directed formatting is used, these bytes specify the condition character information.

e

End Flag and Displacement: 1 or 3 bytes that indicate the last control string in a series and specify the displacement of the field from the previous field.

e

Edit Flags: 1 byte that indicates data types and edit control information.

E)

Buffer and Storage Specifications: 4 bytes indicate buffer length and the length and address of the storage area to which, or from which, data is moved.

o

Optional Bytes: See Second Optional Edit Control Byte and Picture Specification under Byte Groups.

Header Bytes

The first 3 bytes of a control string are header bytes. If a condition character is used for data directed formatting, the header bytes specify the condition character and the position in the record where the condition character is located.

o

Condition Character Position: The displacement minus 1 from the left of the I/O buffer where the character is located. If no condition character is specified, these bytes contain hex FFFF.

G

Condition Character: If no condition character is specified, this byte contains a blank (hex 40).

Byte Groups

End Flag and Displacement

One or three bytes specify the displacement from the rightmost position of the previous field to the rightmost position of the current field. The displacement byte also contains a flag that indicates the end of the format control string series. If the displacement is less than 32, 1 byte contains the displacement and the end flag. If the displacement is greater than or equal to 32, 3 bytes are used: the first 2 bytes specify the displacement, and the third byte contains the end flag.

Displacement Byte 1

Im Dokument IBM 5280 (Seite 110-119)