Defining device types
If the definitions are coded incorrectly, IMS chooses the wrong MFS format and device characteristics, possibly causing screen format errors.
- The logon descriptor
- Information that VTAM® passes to IMS during logon
- The MFS device characteristics table
- LUTYPE field from the VTAM PSERVIC parameter of the VTAM MODEENT macro
- TS profile from the TSPROF parameter of the VTAM MODEENT macro
Non-SNA 3270 printers and displays
The default descriptor names for non-SNA 3270 printers and displays are DFS327P and DFS3270.
- The TSPROF parameter of the VTAM MODEENT macro must be 2 or 3.
- The PSERVIC parameter of the VTAM MODEENT macro must specify LU Type=0.
- Byte 12 in the VTAM PSERVIC
parameter must be modified so that it distinguishes a printer from
a video. The following table shows the content that specifies each
device type based on the bit location in byte 12:
Table 1. Bits in byte 12 of the VTAM PSERVIC parameter Bits in byte 12 Content 0-1 Device type: - 00
- Unspecified device type
- 01
- Printer device
- 10
- Display device
- 11
- Display/printer device (3275)
2-7 Reserved.
If you specify nothing (B'00'), the default is B'10', which is a display device. 1
Related reading: For more information on defining non-SNA 3270 devices, see z/OS® Communications Server: SNA Programming.
LU type-2 devices
The following is a list of rules required for defining SLU–2 devices:
- The TSPROF parameter of the VTAM MODEENT macro must be 3.
- The PSERVIC parameter of the VTAM MODEENT macro must specify LU Type=2.
Related reading: For more information on defining LU type–2 devices, see z/OS Communications Server: SNA Programming.
3275 devices
VTAM definitions alone cannot identify a 3275 device as it is logging on. Additional information (UNIT=3275) must be specified in a logon descriptor. Define this descriptor in the CINIT user data or in the Logon exit routine. The descriptor itself must be identified as a 3275 device type.
TYPE UNITYPE=3270 TERMINAL UNIT=3275,TYPE=3270-An,SIZE=(24x80),COMPT=PRT1
PSERVIC=X'000000000000185000007EC0'
NTO devices
- LU presentation services profile in the BIND image must specify LU1.
- When the LUTYPE is NTO, IMS uses the data stream compatibility byte to precisely define the specific NTO device type. If the LUTYPE specified is SLUTYPE1, the data stream compatibility byte is ignored. The terminal is assumed to be an actual SLUTYPE1 as defined on the logon descriptor.
- Logon exit routine, if available, must accept the DFSNTO (default) logon descriptor or specify an NTO logon descriptor that is defined by your installation using the node name or LOGOND user data parameter.
- The data stream compatibility byte in the CINIT specifies the device type. WTTY indicates a TTY NTO device. If nothing is specified, the device type is LUNS NTO.