Logical device codes—DFHTCT TYPE=LDC macro

The DFHTCT TYPE=LDC macro may only be used with 3600, LUTYPE4, 3770 batch logical unit, and 3770/3790 batch data interchange logical units.

You are responsible for setting up the LDC structure to be used with the terminal.

The expansion of this macro is the same, regardless of where it is specified in the TCT definition.
Read syntax diagramSkip visual syntax diagram
>>-DFHTCT--TYPE=LDC--+-----------------------+------------------>
                     '-,DSN=destination-name-'   

>--+--------------------------------+--------------------------->
   '-,DVC=(device-type,sub-address)-'   

>--+----------------------------+--+----------------------+----->
   |        .-SYSTEM----------. |  '-,LOCAL=--+-INITIAL-+-'   
   '-,LDC=--+-----------------+-'             '-FINAL---'     
            +-LUTYPE4---------+                               
            +-3600------------+                               
            +-BCHLU-----------+                               
            '-aa--+---------+-'                               
                  '-=number-'                                 

>--+-----------------------+--+-------------------------+------><
   '-,PGESIZE=(row,column)-'  |            .-AUTOPAGE-. |   
                              '-,PGESTAT=--+----------+-'   
                                           '-PAGE-----'     

name
Code this with the name of the extended local LDC list. It should be the same as that specified in the LDC operand of the DFHTCT TYPE=TERMINAL macro, and is only required if LOCAL=INITIAL is coded.
TYPE=LDC
Code this if an LDC is being defined to the system LDC table or to the extended local LDC list.
DSN=destination-name
Code this with the name to be used by BMS for destination selection for the batch data interchange logical unit. See the relevant CICS subsystem guides for further information on destination selection.
DVC=(device-type,sub-address)
Code this with the device type associated with the LDC to be used for a BMS request. This operand can only be coded in conjunction with the LDC=aa[=nnn] operand.
device-type
May be coded as follows:
Table 1. DVC=device-type entries
Device type Explanation
3604 Keyboard display
3610 Cut-forms document printer or journal printer (including the document/journal printer of a 3612)
3612 Passbook portion of a 3612
3618 Currently selected carriage
3618P Primary carriage
3618S Secondary carriage
3618B Both carriages
BLUCON Batch logical unit console printer
BLUPRT Printer component of a batch logical unit
BLURDR Card input component of a batch logical unit
BLUPCH Card output component of a batch logical unit
WPMED1 Word processing medium 1
WPMED2 Word processing medium 2
WPMED3 Word processing medium 3
WPMED4 Word processing medium 4

The device types BLUPRT, BLURDR, BLUPCH, and BLUCON are devices attached to a batch, batch data interchange, or LUTYPE4 logical unit.

The WPMED1, 2, 3, and 4 options apply to LUTYPE4 logical units only. The component to which these options apply is defined by the particular type 4 logical unit implementation.

sub-address
Code this with the media sub-address. The range is 0 through 15, with a default of 0. A value of 15 indicates any sub-address. The sub-address differentiates between two units of the same device type (for example, (BLUPRT,0) and (BLUPRT,1)), which could be two print components attached to one logical unit.
LDC={SYSTEM∨LUTYPE4∨3600∨BCHLU∨(aa[=nnn])}
Code this with the LDC mnemonic and numeric value to be defined. Only the LDC=aa[=nnn] option can be used in conjunction with the DVC, PGESIZE, and PGESTAT operands.
SYSTEM
The following system-default LDCs for 3600, batch, and LUTYPE4 logical units are to be established:
Table 2. System default LDCs
LDC mnemonic LDC value Device Pagesize (row, column)
DS 1 3604 Keyboard Display 6,40
JP 2 3610 Document Printer 1,80
PB 3 Passbook and Document Printer 1,40
LP 4 3618 Administrative Line Printer 50,80
MS 5 3604 Magnetic Stripe Encoder 1,40
CO 0 Console medium or default print data set group  
R1 32 Card input medium 1,80
H1 32 Card output medium 1,80
P1 48 Print medium or print data set group 50,80
W1 128 Word processing medium 1 50,80
W2 144 Word processing medium 2 50,80
W3 160 Word processing medium 3 50,80
W4 192 Word processing medium 4 50,80
LUTYPE4
System-default LDC mnemonics are to be established for an LUTYPE4 (word processing) logical unit. These consist of the CO, R1, P1, H1, W1, W2, W3, and W4 mnemonics, the corresponding LDC values, and the appropriate page sizes.
3600
System-default LDC mnemonics for the 3600 are to be established. These consist of the DS, JP, PB, LP, and MS mnemonics, the corresponding LDC values, and the appropriate page-sizes and page-status.
BCHLU
System-default LDC mnemonics for a batch logical unit are to be established. These consist of the CO, R1, P1, and H1 mnemonics, the corresponding LDC values, and the appropriate page-sizes and page-status.
aa
The 2-character mnemonic to be used for this LDC.
nnn
The numeric value to be associated with the LDC in the system or extended local LDC list. The value in the system list is used as a default value for this LDC if a value is not found in a local LDC list (that is, not in the extended list) associated with a TCTTE. A value must be specified for a 3600 device. A value need not be specified for a batch, batch data interchange, or LUTYPE4 logical unit but, if one is specified, it must correspond to the LDC value for the device type.
LOCAL={INITIAL∨FINAL}
An extended local LDC list is to be generated.
INITIAL
This is the start of an extended local LDC list.
FINAL
This is the end of an extended local LDC list.
Note: LOCAL=INITIAL or FINAL may not be coded in the same DFHTCT TYPE=LDC macro as other operands. All DFHTCT TYPE=LDC entries coded after LOCAL=INITIAL and before LOCAL=FINAL form part of one extended local LDC list; the entries coded outside the structure of this group are added to the system LDC table.
The following is an example of an extended local LDC list:
         DFHTCT TYPE=TERMINAL,TRMIDNT=BTCH,      *
         TRMTYPE=BCHLU,ACCMETH=VTAM,LDC=LDCA     *
  LDCA   DFHTCT TYPE=LDC,LOCAL=INITIAL
         DFHTCT TYPE=LDC,DVC=BLUPRT,LDC=AA,      *
         PGESIZE=(6,30)
         DFHTCT TYPE=LDC,DVC=BLUPCH,LDC=BB,      *
         PGESIZE=(1,80)
         DFHTCT TYPE=LDC,DVC=BLUCON,LDC=CC,      *
         PGESIZE=(1,132),PGESTAT=AUTOPAGE
         DFHTCT TYPE=LDC,LOCAL=FINAL
PGESIZE=(row,column)
Code this with the logical page size to be used with this LDC when BMS requests are processed.

The product of row and column must not exceed 32767.

PGESTAT={AUTOPAGE∨PAGE}
Indicates whether the device is to use autopaging or not. Autopaging means that BMS multiple page messages are printed continuously, without operator intervention. This is what is normally required for a printer. (Contrast the requirement for multiple page messages, displayed on a 3270-type display, when the operator wants to finish reading a page, before requesting the next page to be delivered.)

Only BMS SEND commands with the PAGING option use autopaging. BMS SEND with TERMINAL or SET, does not use autopaging.

AUTOPAGE
Specify this for printers.
PAGE
Specify this for displays.

If the default PGESIZE or PGESTAT values provided by the LDC operand are to be overridden, code a specific LDC with the mnemonic to be overridden. Code this overriding LDC in the LDC table before coding the LDC operand.

PGESTAT=AUTOPAGE may be used to override the PGESTAT specification in DFHTCT TYPE=TERMINAL.