To create a new LTERM partner you must place the data structure kc_lterm_str in the data area. You cannot create LTERMs for bundles and groups.
The following table shows how the fields in the data structure are to be supplied with data.
Field name 1 | Meaning | ||
m | lt_name[8] | Name of the LTERM partner. The name may be up to 8 characters long. | |
o | kset[8] | Only relevant for dialog partners (usage_type='D'): | |
Note | |||
o | locale_lang_id[2]
| Only on BS2000 systems: | |
In locale_lang_id you specify the language code of the language to be used when sending UTM messages to the LTERM partner. It is a maximum of 2 bytes long. | |||
In locale_terr_id you specify the territory code. | |||
In locale_ccsname you specify the CCS name of the expanded coded character set. The CCS name can be up to 8 bytes long .It must belong to one of the EBCDIC character sets defined on the BS2000 system, see XHCS User Giude. | |||
o | lock_code[4] | Only relevant for dialog partners (usage_type='D'): | |
o | state | Specifies whether the LTERM partner is to be disabled or not after generation. | |
'Y' | The LTERM partner is not to be disabled. (ON) | ||
'N' | The LTERM partner is to be disabled. (OFF) | ||
o | usage_type | Specifies whether the LTERM partner is to be configured for connecting dialog partners or for connecting printers: | |
'D' | LTERM partner for connecting dialog partners. | ||
'O' | LTERM partner for connecting output media such as printers. | ||
o | user_gen[8]
| Only relevant for dialog partners (usage_type='D'): | |
Default for LTERM partners of terminals: | |||
Note: | |||
o | cterm[8] | Only on BS2000, Unix and Linux systems: | |
Every printer assigned to this LTERM partner (KC_PTERM) must be assigned a printer ID (cid) that is unique to this printer control LTERM. | |||
o | format_attr
| Only on BS2000 systems: | |
You must always specify a format_name and a format_attr when defining a start format. | |||
In format_attr you specify the format code of the start format: | |||
'A' for the format attribute ATTR (+Format). | |||
See section "format_attr, format_name (only on BS2000 systems)" in chapter "kc_lterm_str - LTERM partners" for descriptions of the format attributes. | |||
In format_name you specify the name of the start format. The name can be up to 7 characters long and may only contain alphanumeric characters. | |||
o | plev[5] | Only on BS2000, Unix and Linux systems: | |
You may only specify plev in conjunction with qamsg='Y'. plev='0' means that no control value is defined. | |||
Minimum value: '0' | |||
o | qamsg | Specifies whether asynchronous jobs (FPUT and DPUT jobs) sent to the client/printer assigned to this LTERM partner are to be temporarily stored in the message queue of the LTERM partner, even if the client/printer is not connected to the application. | |
'Y' | An asynchronous job is added to the message queue. | ||
'N' | An asynchronous job is rejected if the corresponding client/printer | ||
o | qlev[5]
| Specifies the maximum number of asynchronous messages that may be temporarily stored in the message queue of the LTERM partner at any one time. If the control value in qlev is exceeded, then UTM rejects any further asynchronous jobs sent to this LTERM partner or to the client/printer assigned to it. | |
o | restart | Is only relevant for dialog partners (LTERM partners with usage_type='D'). | |
'Y' | Asynchronous messages to the client remain queued. | ||
'N' | UTM deletes all asynchronous messages from the queue when the connection is established. | ||
if qamsg='Y' then restart='Y' must be set. | |||
o | annoamsg | Only on BS2000 systems: | |
'Y' | Asynchronous messages are announced by a message appearing in the system line. | ||
'N' | Asynchronous messages are output immediately (without announcement). | ||
o | netprio | Only on BS2000 systems: | |
'M' | "Medium" transport priority | ||
'L' | "Low" transport priority | ||
For native TCP/IP connections (t_prot = SOCKET) this field has no significance. | |||
o | kerberos_dialog | Only on BS2000 systems: | |
'Y' | A Kerberos dialog is performed. | ||
'N' | No Kerberos dialog is performed. |
1 | All fields in the data structure kc_lterm_str that are not listed and all fields that are not relevant to the operating system you are using are to be set to binary zero. The data structure is described in chapter "kc_lterm_str - LTERM partners". |
Clients/printers are assigned to LTERM partners (LTERM - PTERM) when clients/printers are being added to the configuration, or with the aid of KC_MODIFY_OBJECT.