Notes on Using This Function
- The Paste Clipboard to Presentation Space function
is affected by the following options:
- STRLEN/STREOT
- EAB/NOEAB
- EOT
- XLATE/NOXLATE
- PUTEAB/NOPUTEAB
- EAD/NOEAD (for DBCS only)
- NOSO/SPACESO/SO (for DBCS only)
- EXTEND_PS/NOEXTEND_PS
- The string ends when an end-of-text (EOT) delimiter is encountered in the string if EOT mode was selected using the Set Session Parameters (9) function. (See “Set Session Parameters (9)” on page 147).
- The original data (the copied string) cannot exceed the size of the presentation space.
- DBCS Only: Double-byte characters can be included as a part of the string. Note: PC400 does not add SO and SI to the string. When you paste the strings, including double-byte characters at the DBCS mixed field, generate SO and SI and create the area where double-byte characters are written by using the Send Key (3) function in advance. If both single-byte and double-byte characters exist in a string, the data might be truncated because the data length in EBCDIC is longer than in JISCII. If only the first byte or the second byte of the double-byte character must be written into the string, a blank is written. If the last character in the original string is the first byte of the double-byte character, the character is not written and not counted in the length. If the character to be written into the last character of the target presentation space is SO/SI or the first byte of the double-byte character, the character is not written and truncated, and not counted in the length. A control character is converted from single-byte character to double-byte character, or from double-byte character to single-byte character depending on the field condition. A pair of NULL+Control Character between SO and SI is treated as a double-byte control character. For example, the following strings are copied into the single-byte character field or the double-byte character field:
| String | Meanings | Single-byte character field | Double-byte character field |
|---|---|---|---|
| X'000C' | (NULL)(FF) X'00'X'0C' | (SB NULL)(SB FF) X'00'X'0C' | (DB NULL)(DB FF) X'0000'X'000C' |
| X'0E000C0F' | (SO)(DB FF)(SI) X'0E'X'000C'X'0F' | –S error | (DB FF) X'000C' |
|
Note: SB means single-byte characters and DB
means double-byte characters. | |||
Note:
- 5250 emulation supports a presentation space of 24 rows by 80 columns. In some instances, Communication Manager 5250 emulation displays a 25th row. This occurs when either an error message from the host is displayed or when the operator selects the SysReq key. Personal Communications always displays the same information on the 24th row. By the EXTEND_PS option, an EHLLAPI application can use the same interface with Communication Manager EHLLAPI and valid presentation space is extended when this condition occurs.
- If the presentation space is field formatted and while pasting the clipboard content, when there is a tab character '\t,' the remaining paste content is moved to the next writable field.