|
|
HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Appendix K SNA DHCF with VPLUS Applications IBM 3270 Differences and Limitations |
|
When using VPLUS to design or modify applications for IBM 3270 users, it is important to understand the limitations that restrict forms design for IBM 3270 display stations. The information in the following sections explain how an IBM 3270 differs from an HP 3000 terminal and the impact of these differences when running VPLUS applications using SNA DHCF. Table K-1 compares HP 3000 terminal keys with equivalent IBM 3270 keys. Table K-1 Comparison of Major Keys
In addition to the keys listed above, IBM 3270 function keys differ from HP 3000 function keys. The IBM keyboard has 12 or 24 function keys; the first 8 function keys map to HP keyboards. Table K-2 shows the mapping of HP function keys to IBM 3270 function keys. Table K-2 Mapping of Keys
SNA DCHF affects the screen design of VPLUS applications for IBM 3270 display stations in the following areas:
IBM 3270 display stations have the following screen attributes and limitations:
Several HP terminal display enhancements are unavailable on the IBM 3270. You do not have to alter any enhancements specified in an existing forms file for IBM 3270 usage, however. Table K-3 summarizes the mapping of HP display enhancements to IBM 3270 display stations. The codes provided for some of the HP display enhancements correspond to the value specified in FORMSPEC for the display enhancements of fields, errors, and the window line. Note that the half-bright enhancement (code=H) overrides all other enhancements except for security. Table K-3 Display Enhancements
VPLUS simulates function key labels by "reserving" the last two lines of the screen. This reduces the available screen area to 22 lines. Function key labels for IBM 3270 display stations appear similar to those for HP terminals. The label text appears on an IBM 3270 display station as intensified display on a blank background. The default labels on HP terminals and IBM 3270 display stations are identical, and cannot be configured by users. You should not design a form that has contiguous fields, because the IBM 3270 display station requires an attribute byte preceding each field or text area. The attribute byte uses a physical screen location and appears as a blank space on the screen. The attribute byte indicates whether the field can be or has been changed. You can create a space for both leading and trailing attribute bytes by inserting visible brackets before and after all fields. SNA DHCF can convert these visible brackets to invisible attribute bytes on IBM 3270s. For instance, if you defined the following three fields:
they would appear as shown below when the VPLUS form is displayed on an IBM 3270 screen.
The * represents an attribute byte. On the screen, the attribute byte appears as a blank. If you use invisible brackets to delimit fields, you must provide a leading space before each field or text area. When the field or text begins in the first column of a line, insert the space at the end of the previous line. The "Home" position is an exception to this guideline; the attribute byte should be inserted in the bottom right position instead (reverse "Home"). Although the attribute byte is the most important concept regarding fields for IBM 3270 display stations, you should also be aware of the following information about fields. As mentioned earlier, HP computer systems use ASCII character sets, whereas IBM computer systems use EBCDIC character sets. Consequently, SNA DHCF must use system default translation tables from the Native Language Subsystem (NLS) to translate characters from one system to the other. If Native-3000 is the native language used, SNA DHCF translates all ASCII characters without alterations, except for the characters shown in table K-4. Note that the HP terminal bracket characters equate to text, not actual FORMSPEC brackets. Table K-4 Differences Between HP and IBM Character Displays
To display one of these characters on one system, you must specify the corresponding character on the other system. For instance, if you want to send an exclamation point (!) to an IBM 3270 user, your VPLUS application must specify this character as a right bracket (). If an IBM user wants to input a left bracket (), he or she must specify ¢. |
|