The EDIT control statement allows you to combine screen functions and screen output properties in line mode (edit options) in groups known as edit profiles. It also enables you to assign names to these edit profiles, which can then be used to address a set of edit options from a program unit.
The EDIT statement can be issued several times within a generation run. However, a different name (name operand) must be specified in each EDIT statement.
The edit profile names are specified in the KCMF field of the MPUT, MGET, DPUT, FPUT and FGET calls at the programming interface, where a blank is entered as the format control character.
openUTM interprets the entries in the KCMF field as follows:
No edit profiles generated | Edit profiles generated |
If a blank is entered as the format control character, openUTM ignores the remaining characters in the field. | If a blank is entered as the format control character, the remaining characters in the field must contain either the name of a valid edit profile or further blanks. |
A detailed description of the operands described below can be found in the „TIAM“ User Guide. Further information on working with edit profiles can be found in the openUTM manual „Programming Applications with KDCS”.
|
|
name | Alphanumeric name up to seven characters in length for the set of edit options to be defined. |
BELL= | This specifies whether or not an acoustic alarm is triggered on the terminal when a message is output. |
CCSNAME= | ccsname (coded character set name) A CCS name must not be assigned to the edit profile if the value TRANS (transparent mode) is defined for the MODE operand. If the edit profile is used to output messages to an RSO printer, only the CCSNAME= parameter of the edit profile is evaluated. |
HCOPY= | (hard copy) |
HOM= | (homogeneous) |
IHDR= | (input header) |
LOCIN= | (local parameter input) |
LOW= | (lowercase) |
MODE= | |
EXTEND | (extended line mode) |
INFO | The message is to be output in a special information line (system line) without overwriting important data at the terminal. This specification is primarily intended for application programs that send "asynchronous" messages to terminals without knowing what is currently being displayed at the terminal. At terminals with a hardware display line (e.g. DSS 9749, 9750, 9763), the data is always output protected in a hardware system line; in all other cases, it is output in the same way as a normal line mode message. |
LINE | (line mode) |
PHYS | (physical mode) This specification should not be used for messages output on a printer. Physical messages to a printer can only be implemented using a format exit. |
TRANS | (transparent mode) The value N must be entered for the SPECIN= operand. |
NOLOG= | (no logical characters) |
YES | The logical control characters are not evaluated. All characters less than X’40’ in EBCDIC code are replaced by alternate characters (SUB). Only printable characters are allowed through. |
NO | All logical control characters are evaluated. Special physical control characters are allowed through. All other characters less than X’40’ are replaced by alternate characters (SUB). Printable characters are allowed through. Default: NO |
OHDR= | (output header) |
SAML= | (same line) |
SPECIN= | (special input) |
C | (confidential) |
I | (id-card) |
N | (normal) |