Logical device codes
Some types of logical unit (LU) can be used to
get access to more than one resource within a subsystem.
For example, data sent to a 3601 LU might be intended for an IBM® 3604 Keyboard Display, an IBM 3618 Administrative Line Printer, or some other element of the IBM 3600 Finance Communication System. The facility provided by CICS® to permit destination selection within LUs of this type is the logical device code (LDC).
The LUs that support destination selection by LDC are:
- 3601 LU
- 3770 batch LU
- 3770 batch data interchange LU
- 3790 batch data interchange LU.
For the user of the message-switching transaction, the LDC is a 2-character mnemonic code whose meaning is defined by the CICS installation. It can be used to qualify an LU destination by including it in the ROUTE option in the syntax diagram that follows:
where:
ROUTE >>-ROUTE=-------------------------------------------------------> .---------------------. V | >--+---Termid--*ldc--/opid-+----------------------------+------>< +-ALL--*ldc------------------------------------------+ | .-----------------. .---------------------------. | | V | V | | '---.termlist--*ldc-+----+-----------------------+-+-' '-,±termid--*ldc--/opid-'
- *ldc
- is a 2-character LDC mnemonic preceded by an asterisk (*) that
qualifies the destinations. The *ldc parameter can qualify an LU identifier
(termid), a general broadcast (ALL), or a terminal list table specification
(.termlist). The *ldc parameter applies only to LUs, not to any start-stop
or BSC terminals.
Different LDC mnemonics can be included in one ROUTE option specification; however, all destinations for one message must indicate the same device type.
- Termid*ldc
- associates an LDC mnemonic with an LU identification.
- ALL*ldc
- is a general broadcast to all terminals with the same LDC mnemonic qualifying all LUs.
- Termlist*ldc
- .termlist*ldc
- qualifies all entries in this terminal list table with the specified
LDC mnemonic. This overrides any LDC specified within the terminal
list table. This LDC specification does not apply to start-stop or
BSC terminals. Note: This qualification of a TLT occurs before any succeeding TLTs or +/- entries are processed, see example 9 in Examples of 3600 and 3770 batch destinations.
- +termid*ldc/opid
- adds a destination, if not a complete duplicate to any contained in the requested TLTs.
- -termid*ldc/opid
- deletes duplicate destinations resulting from the requested TLTs. A -termid*ldc, without an opid, deletes all destinations of that termid*ldc (with or without operator identifiers) resulting from the requested TLTs. A -termid/opid, without an LDC mnemonic, deletes all destinations of that termid/opid (with or without LDC mnemonics) resulting from the requested TLTs.
If a destination is specified by /opid without termid, it becomes termid/opid, in which termid is the identifier of the first terminal, or LU to which an operator with that identifier is currently signed on. If no such terminal or LU is found, the destination is not valid and the operator is notified.
