• Aucun résultat trouvé

Character Sets Query Reply Base Function

Dans le document - - - - 3270 Information Display System (Page 192-195)

Transmits information about:

1. Eachcharacter set supported

2. The ability of the device to support the Load Programmed Symbols (Load PS) structured field and .the Graphic Escape (GE) character.

This query reply is required for SAA support. For more information about SAA, see the list of related publications at the beginning of this book and

Appendix F, "Functions Required for Systems Application Architecture (SAA) Support."

This form of the query reply is transmitted inbound in reply to a Read Partition structured field specifying Query or Query List (QCODE List

=

X 185 1, Equivalent, or All).

This query reply consists of at least two parts: the base and a descriptor. Each is discussed below.

Character Sets Query Reply Base Function

Requirements

Format

This portion of the Character Sets Query Reply tells the host application which loadable and/or nonloadable character sets are available at the device. The base is always required and has requirements of its own.

The GF flag in the base must be set to S'1'. The CGCSGID field must be present.

The first 3 bytes of the descriptor must be present.

The table below shows the format of these parameters.

Byte Bit Content Content Description

0-1 L Length of this structure

2 X'81' Query Reply

3 X'8S' Character Sets Query Reply

4-N Flags

a

ALT

B'O' Graphic Escape not supported B'1' Graphic Escape supported

1 MULTID

B'O' Multiple LClDs are not supported B'1' Multiple LCIDs are supported

2 LOADABLE

B'O' LOAD PS are not supported B'1' LOAD PS are supported

Byte Bit Content Content Description

4 cont 3 EXT

S'O' LOAD PS EXTENDED is not supported S'1' LOAD PS EXTENDED is supported

4 MS

S'O' Only one character slot size is supported

S'1' More than one size of character slot are supported

5 CH2

S'O' 2-byte coded character sets are not supported S'1' 2-byte coded character sets are supported

6 GF

1 PSCS Programmed Symbols Character Slot S'O' Load PS slot size match required S'1' Load PS slot size match not required

2 RES Reserved

3-7 RES Reserved

6 SDW Default character slot width

7 SDH Default character slot height

8-11 FORM Supported LOAD PS format types, bit encoded. Sit i

= 1 means type i is supported.

12 DL Length of each descriptor

Additional Content Description

• AL T - Indicates that the device can support an alternate character set through the use of the GE control character.

• MULTID - Indicates that the device supports multiple graphic symbol sets with the same LCID (see the MUL TID parameter of the Load PS structured field on

page 5-19).

• LOADABLE -Indicates that the Load Programmed Symbol Set structured field is supported. In some implementations, the Load PS Set structured field may be supported while one or more of the attached devices do not support any loadable character sets (for example, a control unit with multiple devices attached). Consequently, the Character Sets Query Reply associated with a particular device may indicate support of the Load PS Set structured field, but only nonloadable character sets are supported. Therefore, to indicate support of loadable character sets, the Character Sets Query Reply for a device must indicate the support of both the Load PS Set structured field and support of one or more loadable character sets.

6-22

ISM 3270 Information Display System Data Stream Programmer's Reference

• EXT -Indicates that the device supports the Load PS extensions. Thus EXT can be set only if LOAOABLE is set.

• MS -Indicates whether the device supports a character set related character slot size or not. This parameter can take one of two val ues:

If MS

=

B'O', the character slot size for al/ character sets is given by the parameters SOW and SOH. If any values are specified in the character set descriptors for SW or SH, they are ignored.

If MS

=

B' 1', each character set has its own character slot size, given by the parameters SW and SH in the descriptor for that character set. The parameters SW and SH are present in all descriptors. However, if the value of either SW or SH for a given character set is zero, the values given by SOW and SOH will be used.

If the device supports non-matrix characters (as indicated in byte 5, bit 1 of the Usable Area Query Reply), bytes 6 and 7 (SOW and SOH) are not applicable and must be set to zero.

• CH2 -Indicates whether or not 2-byte character sets are supported. In a 2-byte character set, the characters are represented by 2-byte codes in the data stream.

If CH

=

B'O', 2-byte character sets are not supported and the SUBSN parameters are not present in the descriptors.

If CH

=

B'1', 2-byte character sets are supported and the SUBSN parameters are present in the descriptors.

• GF -Indicates that the device returns Coded Graphic Character Set Global identifiers in this query reply. This parameter remains to accommodate some existing implementations that support the Character Sets Query Reply but not CGCSGIO. All new implementations must have the CGCSGIO present and have GF set to B'1'.

• PSCS -Indicates whether or not the character size (LW/LH) specified in the Load PS Sets structured field must exactly match the character slot size (SOW/SOH or SWISH) specified in the Character Sets Query Reply.

If PSCS

=

B'O', a Load PS Sets structured field specifying other than an exact match will be rejected.

If PSCS

=

B'1', a Load PS Sets structured field specifying LW equal to or less than SW/SOW and an LH equal to or less than SH/SOH will be accepted.

Regardless of the PSCS flag setting, if either or both the width or height of the character size specified in the Load PS Sets structured field exceeds the corresponding dimension of the character slot specified in the Character Sets Query Reply, the Load PS Sets structured field will be rejected. Support of a Load PS Sets character size smaller than the character slot size (bit

=

B'1 ') is an implementation/requirement option. The PSCS flag has no meaning for an implementation that does not support Load PS Sets/Loadable Symbol Sets.

The flag is set to B'O'.

When supported, a valid Load PS Sets structured field specifying a character size smaller (in either or both dimensions) will load the character starting at the top left of the designated character slot. If the width (LW) is less than the width of the character slot, then the remaining dots in each row of the character slot are cleared to zero. The height (LH) is processed in a similar manner when it is less than the height of the character slot. The effect of this

processing is as if the character slot was cleared to zero immediately before the character that was transmitted (in the Load PS Sets structured field) was loaded into the character slot.

• FORM -In this 32-bit field, each bit corresponds to a format type that can be specified in the Load PS Set structured field. Thus, if bit i is set, the device supports format type i.

Currently, Load PS Set format types 1 - 6 and 8 are defined. The remaining values are reserved. This means that bit 0 and bits 7 through 32 (with the exception o(bit 8) are reserved. The remaining bits will be set depending on the formats supported.

• DL -Defines the length of each descriptor.

Character Set Descriptors

Dans le document - - - - 3270 Information Display System (Page 192-195)

Documents relatifs