The data structure kc_edit_str is defined for the object type KC_EDIT. With KC_GET_OBJECT, UTM returns information on EDIT profiles in kc_edit_str.
EDIT profiles are generated with the KDCDEF control statement EDIT. Screen functions and properties of the screen output in line mode are summarized in EDIT profiles. Each EDIT profile is assigned a name in the KDCDEF generation via which the corresponding set of edit options can be accessed from a program unit run.
A complete description of the edit options discussed in the following can be found in the TRANSDATA TIAM User Guide. You will find more detailed information on working with EDIT profiles in the openUTM manual „Programming Applications with KDCS”.
Data structure kc_edit_str |
|
|
|
|
|
|
|
|
|
|
|
|
|
The fields in the data structure have the following meanings:
ed_name | ||||||||||
Contains the name of the EDIT profile whose edit options UTM will return. It is an alphanumeric name up to seven characters long. | ||||||||||
edit_mode | ||||||||||
Specifies the mode in which the messages will be output: | ||||||||||
'E' | (extended line mode) | |||||||||
'I' | (info) | |||||||||
'L' | (line mode) | |||||||||
'P' | (physical mode) | |||||||||
'T' | (transparent mode) | |||||||||
edit_bell | ||||||||||
Specifies if an acoustic alarm is to be triggered when the message is output on the terminal. The contents of the field mean: | ||||||||||
'Y' | An acoustic alarm will be triggered. | |||||||||
'N' | An acoustic alarm will not be triggered. | |||||||||
hcopy | (hard copy) | |||||||||
'Y' | Logging of output messages on a hard-copy printer | |||||||||
'N' | No logging | |||||||||
hom | (homogeneous) | |||||||||
'Y' | The message will be without structure | |||||||||
'N' | The message will be structured. In this case, a logical line is considered to be the unit of output. | |||||||||
ihdr | (input header) | |||||||||
'Y' | The message header of the input message will be passed. | |||||||||
'N' | The message header will not be passed. | |||||||||
locin | (local input parameter) | |||||||||
'Y' | Local attributes in the input message are passed as logical control characters. | |||||||||
'N' | Local attributes are removed and not passed. | |||||||||
low | (lower case) | |||||||||
'Y' | Lowercase letters in the input message are passed to the program unit. | |||||||||
'N' | Lowercase letters are converted to uppercase before being passed to the program unit. | |||||||||
nolog | (no logical characters) | |||||||||
'Y' | The logical control characters will not be evaluated. All characters that are smaller than X'40' in the EBCDIC code will be replaced by substitute characters (SUB). Only printable characters will be allowed through. | |||||||||
'N' | All logical control characters are evaluated. Special physical control characters will be allowed through. Other characters smaller than X'40' will be replaced by substitute characters (SUB). Printable characters will be allowed through. | |||||||||
ohdr | (output header) | |||||||||
'Y' | The output message contains a message header. | |||||||||
'N' | The output message does not contain a message header. | |||||||||
saml | (same line) | |||||||||
'Y' | No line feed is executed at the beginning of the message. | |||||||||
'N' | The message starts at the beginning of the next line. | |||||||||
specin (special input) | ||||||||||
Specifies which special options the edit profile contains for the input. | ||||||||||
'C' | (confidential) | |||||||||
'I' | (ID card) | |||||||||
'N' | (normal) | |||||||||
ccsname (coded character set name) | ||||||||||
Contains the name of the character set (CCS name) used to prepare a message (see also the XHCS User Guide). |