The LTERM control statement allows you to define an LTERM partner as the logical access point for a client or printer of the application. Clients are terminals, UPIC clients and transport system applications (DCAM, CMX and socket applications, or UTM applications generated as transport system applications).
LTERM partners are used by clients and printers to establish a connection with the UTM application. They are assigned physical clients or printers using the PTERM statement. You can also define pools of LTERM partners; further information can be found in the description of the TPOOL statement in section "TPOOL - define an LTERM pool".
LTERM partners can also be predefined, i.e. they aren’t assigned to a client/printer yet. The LTERM partner ->
PTERM assignment can be defined later on during operation using the KDCSWTCH administration command.
A separate LTERM statement must be issued for all clients defined in a PTERM statement.
Printers are not supported by openUTM on Windows systems.
|
additional operands on BS2000, Unix and Linux systems
additional operands on BS2000 systems
|
ltermname | Name of the LTERM partner up to eight characters in length. ltermname is used
The specified name must be unique and must not be assigned to any other object in name class 1. See also "Uniqueness of names and addresses". |
ANNOAMSG= | (announce asynchronous message) This operand is only supported on BS2000 systems. This operand applies only for LTERM partners used by terminals (USAGE=D) to sign on to the UTM application. |
Y | An asynchronous message to this terminal is announced in advance by outputting UTM message K012 in the system line. The user must then request the message using the UTM command KDCOUT. Default: Y |
N | An asynchronous message to this terminal is sent immediately, i.e. without prior announcement. |
BUNDLE= | master-lterm Name of a master LTERM in a LTERM bundle (connection bundle). By specifying master-lterm, this LTERM becomes a slave LTERM of the corresponding connection bundle. The master LTERM specified here must have been generated in a preceding LTERM statement. Do not assign a PTERM to a master LTERM. Connection bundles permit load balancing (see "LTERM bundle"). Connection bundles can be generated for APPLI or SOCKET connections (PTYPE operand of the corresponding PTERM statement). BUNDLE must not be specified together with GROUP or CTERM. |
CTERM= | ltermname2 (control terminal) This operand is only supported on BS2000, Unix and Linux systems. This only needs to be specified for LTERM partners generated for printers (USAGE=O). Default: Blanks, i.e. no printer control LTERM |
GROUP= | primary-lterm Name of a primary LTERM. By specifying primary-lterm, this LTERM becomes an alias LTERM of the corresponding primary LTERM. They define a LTERM group. In a LTERM group you assign several LTERMs to one connection (see "LTERM groups" ). The primary LTERM specified here must have been generated in a preceding LTERM statement. The primary LTERM must be a normal LTERM assigned to a PTERM with PTYPE=APPLI or PTYPE=SOCKET or the master LTERM of a connection bundle. Do not assign a PTERM to an alias LTERM. GROUP must not be specified together with BUNDLE or CTERM. |
FORMAT= | This operand is only supported on BS2000 systems. Designates the start format of the LTERM partners. Start formats can only be defined for terminals. It only makes sense to specify a start format if the application is generated without user IDs or if you are using your own signon service. If the LTERM partner is assigned to a UPIC client, then specifying a start format has no effect. If the application is generated without user IDs, this format is output instead of UTM message K001. Following a terminal-specific restart, the start format is not displayed, rather the KDCDISP command is executed. If the application is generated with user IDs, the name of the start format can be queried in the first part of the sign-on procedure using the SIGN ST call. If you do not use your own sign-on procedure, you cannot use the LTERM-specific start format. The sign of the format consists as follows: +, * or # followed by an alphanumeric name (formatname) up to seven characters in length. #formats can only be used in the context of a sign-on procedure. The terms have the following meanings: |
+ | When the next MGET call of the program unit is issued, each entry in a format field is preceded by 2 bytes for the attribute field in the KDCS message area, i.e. the field properties can be modified by the program unit. |
* | When the next MGET call of the program unit is issued, the entry in a format field is not preceded by any bytes for an attribute field, i.e. the field properties cannot be modified by the program unit. The format name at the KDCS interface is *formatname. |
# | This identifies a format with extended user attributes. The field properties and global format properties can be modified by the program unit. The format name at the KDCS interface is #formatname. Default: no start format |
KERBEROS-DIALOG = | |
This operand is only supported on BS2000 systems. | |
YES | A Kerberos dialog is performed when a connection is established for terminals that support Kerberos and that connect to the application directly via this LTERM partner (not via OMNIS). openUTM stores the Kerberos information in the length resulting from the maximum lengths generated for MAX PRINCIPAL-LTH and MAX CARDLTH. If the Kerberos information is longer, it is truncated to this length and stored. The KDCS call INFO (KCOM=CD) allows a program unit run to read this information unless a user subsequently signs on with an ID card. In this event, the Kerberos information is overwritten by the ID card information. If the maximum of the lengths generated for MAX PRINCIPAL-LTH and MAX CARDLTH is zero, a warning message is issued. |
NO | No Kerberos dialog is performed. Default. |
KSET= | keysetname This applies only to clients generated as dialog partners (USAGE=D). keysetname is the name of a key set defined using the KSET statement and assigned to the LTERM partner ltermname. keysetname may be up to 8 characters long. A maximum of one key set can be assigned to each LTERM partner. This defines the access permissions for this LTERM partner with respect to using the services of the application and remote services (LTACs) generated in this application. This LTERM partner can only be used to start services of the application that are protected with a lock code or an access list and only address remote services that are protected with a lock code or an access list if the following applies: The key set assigned to the LTERM partner and the KSET of the UTM user ID under which sign-on using this LTERM partner was performed must contain the key code or access code that matches the lock code or access list. Services whose TACs are not secured with codes can be called by the user or the client program without restriction. In the case of an application in which user IDs have been defined and for which data access control is not required for terminals, you can assign all key codes to the terminals as follows:
Default: No key set |
LOCALE= | (lang_id,terr_id,ccs_name) This operand is only supported on BS2000 systems. Language environment of the client that signs on to the application via this LTERM partner. |
lang_id | Freely selectable language identifier for the client, up to two characters in length. The language identifier may be queried by the program units of the application, so that messages can be sent to the terminal in the communication partner’s language. |
terr_id | Freely selectable territorial identifier for the client, up to two characters in length. The territorial identifier may be queried by the program units of the application, so that messages can be sent to the terminal taking into consideration any special territorial features of the communication partner’s language. |
ccsname | (coded character set name) During generation, KDCDEF cannot check the validity of the CCS name under the BS2000 system or the compatibility condition. If you specify a CCS name which is not defined in XHCS, this results in a PEND ER when an attempt is made to establish a connection via this LTERM partner during runtime. The character set with the specified CCS name is used for:
Default: Locale defined in the MAX statement |
LOCK= | lockcode This applies only for clients (USAGE=D). Default: 0, i.e. no lock code |
NETPRIO= | This operand is only supported on BS2000 systems. Transport priority to be used on the transport connection assigned to this LTERM partner. NETPRIO has no significance for LTERM partners that are assigned to a PTERM using PTYPE=SOCKET or PTYPE=*RSO. Default: |
PLEV= | print_level_number This operand is only supported on BS2000, Unix and Linux systems. This applies only for printers. The PLEV= operand allows you to access printers from various UTM applications (printer sharing). The connection between the UTM application and the printer exists only while the print job is being transferred, thus allowing other applications to establish a connection as required. This operand defines the number of printer messages at which openUTM attempts to establish a connection with the printer. openUTM continues to collect these messages until the threshold value defined with PLEV= is reached. It then establishes a logical connection to the printer. The connection is shut down again as soon as there are no further messages for this printer. Another application can then output messages to the printer if necessary. If the client is assigned a printer pool, openUTM attempts to establish a connection to all printers in the pool as soon as the threshold value is reached. When all messages have been sent, the connection to all printers in the pool is shut down again. If the connection to the printer is shut down (e.g. by administration) even through the threshold value PLEV= is still exceeded, openUTM attempts to reestablish the connection at intervals defined in MAX ...,CONRTIME=time. If PLEV=0 is specified, the connection is not shut down even if there are no further output messages. If PLEV>0 is specified, the operands RESTART=NO or USAGE=D must not be specified for the LTERM partner. On BS2000 systems QAMSG=NO must also not be specified. If PLEV>0 is specified, the operand CONNECT=YES of the associated PTERM statement has no effect. Default value: 0 |
QAMSG= | (queue asynchronous message) |
YES | An asynchronous message (FPUT job) to the client or printer is buffered by openUTM in the message queue of this LTERM partner, even if the client or printer is not connected to the application. Default: If RESTART= YES |
NO | An FPUT job sent to this client or printer is rejected with the return codes KCRCCC=44Z and KCRCDC=K705 if the client or printer is not connected to the application. Default: If RESTART=NO |
QLEV= | queue_level_number (queue level) Default value: 32767 You should not specify a QLEV < PLEV for a printer, as this would mean that the connection to this printer would have to be established by administration. |
RESTART= | Processing of asynchronous messages when the client link is disconnected. |
YES | When the link to the client assigned to this LTERM partner is disconnected, asynchronous messages are retained. If user IDs are not generated in this application, openUTM performs an automatic service restart for this LTERM partner. Default: YES |
NO | When the link to the client assigned to this LTERM partner is disconnected, openUTM deletes all asynchronous messages in the message queue of the LTERM partner. If these are messages of a UTM message complex, the negative confirmation job is activated. It is possible to relieve the load on the page pool by specifying RESTART=NO. If QAMSG=YES is specified, you must not specify RESTART=NO. If user IDs are not defined in the application, openUTM does not perform an automatic service restart for clients or printers, i.e.:
|
STATUS= | Status of the LTERM partner following connection setup. This can be modified during runtime using the administration command KDCLTERM. |
ON | The client or printer assigned to this LTERM partner is not locked, i.e. you can work with it as soon as the connection has been established. Default: ON |
OFF | The client or printer assigned to this LTERM partner is locked. |
USAGE= | Type of LTERM partner |
D | The LTERM partner is configured as a dialog partner. Both the client and the application can send messages via the connection between the client and the local application. Default: D |
O | The LTERM partner is configured for an output medium. It is only possible to send messages from the application to the printer or TS application etc. |
USER= | username This only applies if the LTERM has been configured as a dialog partner (USAGE=D). Depending on the type of the assigned client, this operand has the following effect:
Default: No automatic KDCSIGN |