HP NonStop Pathway/iTS Programming Manual page 92

Management programming manual
Table of Contents

Advertisement

ZPWY-DDL- Definitions
ZTERMTYPE
specifies the type of device on which the TERM runs or selects from the PROG
definition the type of device on which the program runs. The ZTERMTYPE field in
ZPWY-DDL-TERMTYPE-INFO has the same possible values as
ZPWY-DDL-TERM-TYPE.
When specifying the type of device on which a TERM runs, consider the following:
If ZTERMTYPE specifies IBM-3270 or INTELLIGENT, then you must also
assign a value to the ZSUBTYPE field.
Specifying or changing the ZTERMTYPE field does not set or reset the
ZSUBTYPE field; each field must be explicitly set or reset. For example, if
ZTERMTYPE is IBM-3270 and ZSUBTYPE is 4, and you change ZTERMTYPE
to T16-6530, you must change ZSUBTYPE to 0 to avoid generating an error.
If the SCREEN COBOL TERMINAL IS clause specifies CONVERSATIONAL
and the ZTERMTYPE field has the value T16-6530, the TCP executes the
program on the 6530 terminal in conversational mode. If the TERMINAL IS
clause is omitted and the TCP attempts to execute this same program, it
returns an error.
If the TERMINAL IS clause of the running SCREEN COBOL program is not
present, the value specified for the ZTERMTYPE field is used.
If the TERMINAL IS clause is not present and a value for ZTERMTYPE is not
specified, the TCP obtains the device type from a call to the file-system
DEVICEINFO procedure.
When determining the type of device on which a program runs, consider the
following:
The selection of the device type depends on the type of device on which the
program runs.
A PROG definition can have more than one device type associated with it. For
example, a program can run on an IBM 3270 terminal, a 6530 terminal, and an
intelligent device. A separate program unit is associated with each device type.
If you specify a value for ZTERMTYPE, the PATHMON process uses that
value to select the device type from the PROG definition.
If you specify a value for ZTERMTYPE but the device type you have entered is
not defined in the PROG definition, the START PROG command fails with the
following error:
*1086* TERM TYPE NOT DEFINED FOR PROGRAM
If you do not specify a ZTERMTYPE value, the PATHMON process issues a
file-system DEVICEINFO query to the device on which the program runs. The
reply from the DEVICEINFO query is used to determine the appropriate device
type.
NonStop Pathway/iTS Management Programming Manual—426749-002
5- 18
ZPWY-DDL-TERMTYPE-INFO

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents