TYPE macro

The TYPE macro statement defines the beginning of a set of macro statements for communication terminals and logical terminals, including the macros TERMINAL and NAME.

TYPE defines terminals attached to IMS through VTAM®. It is equivalent to the LINEGRP/LINE macro set used to define terminals attached to IMS by means other than VTAM.

In addition to the keyword parameters described in this topic, any keyword parameter of the TERMINAL macro statement except EDIT, LTERM, NAME, COMPT, and COMPT1 through COMPT4 can be specified as a keyword operand of the TYPE macro statement. Any specified keyword value provides default values for subsequent TERMINAL macro statements within this terminal description set.

Dynamic definition

You cannot dynamically define the beginning of a set of communication terminals and logical terminal description macro statements.

Supported environments

The TYPE macro can be used in the DB/DC and DCCTL environments.

Syntax

Read syntax diagramSkip visual syntax diagramTYPEBACKUP=(4XNO,YES,NO),EDIT=(modulename 1modulename 2),OPTIONS=NOAUTSGNAUTOSIGN,NOASR,ASR,NOSIGNON,SIGNONUNITYPE=(3270,LOCAL)3601FINANCESLUTYPE1SLUTYPE2SLUTYPEPLUTYPE6NTO

Positional parameters

The TYPE macro does not include positional parameters.

Keyword parameters

To find which parameters apply to your IMS configuration, refer to Selecting the appropriate macros to define your system.

BACKUP=
Specifies (for XRF only) the control of session switching (VTAM) after takeover. Use only when HSB=YES is specified on the IMSCTRL macro.

X is a numeric integer from 1 to 7, inclusive, that specifies priority for reestablishing the session. The default is 4 when either keyword or parameter is omitted. NO suppresses session recovery of the terminal at takeover.

Although IMS sets priorities for VTAM requests, the active requests can be completed in any order because of internal VTAM conflicts and pacing.

The second parameter determines whether the backup system is to attempt to establish a backup session to the terminal when the active request establishes a session. When the entire keyword or this parameter is omitted, the default is YES. Specifying NO suppresses the establishment of a backup session.

EDIT=
modulename 1 specifies the 1- to 8-byte name of a user-supplied physical terminal output edit routine for the terminals in this communication description set.

modulename 2 specifies the 1- to 8-byte name of a user-supplied physical terminal input edit routine for the terminals in this communication description set.

This routine cannot be the same as the one that is used on a TRANSACT EDIT= parameter.

OPTIONS=
  • Specifies (for the Session Outage Notification facility only) automatic session restart (ASR) processing on all nodes of the same type. The default is NOASR.

    The ASR and NOASR definitions on the TERMINAL macro override those definitions on the TYPE macro. However, the ASR option is not supported for nodes that can have XRF backup sessions.

    Use the /DIS command to display the current ASR option, and the /CHANGE command to change it.

  • Specifies signon verification security processing (SIGNON). The default is NOSIGNON.

    The SIGNON and NOSIGNON definitions on the TERMINAL macro override those definitions on the TYPE macro.

    Instead of specifying OPTIONS=SIGNON in more than one system definition macro, you can require all static terminals to sign on by specifying a single parameter, SIGNON=ALL, in the DFSDCxxx PROCLIB member.

    Related Reading: For more information about the SIGNON keyword, see DFSDCxxx member of the IMS PROCLIB data set.

  • AUTOSIGN indicates that IMS automatically signs on to static terminals with the first LTERM name as the user ID, bypassing a password check. The user ID needs to be defined in RACF®.

    For ISC static terminals, the SUBPOOL name are used as the user ID instead of the LTERM name.

    NOAUTSGN indicates that IMS does not automatically sign on to static terminals with the first LTERM name as the user ID. This is the default.

    The AUTOSIGN and NOAUTSGN definitions on the TERMINAL macro override those definitions on the TYPE macro.

    If you specify AUTOSIGN on the TYPE macro, every subsequent TERMINAL macro after that TYPE macro also specifies AUTOSIGN. You can specify exceptions to the AUTOSIGN specification by specifying NOAUTSGN for particular TERMINAL macros.

UNITYPE=
Specifies the terminal device type contained in this communication description set.

A terminal defined as either a 3770 or NTO is to be treated as a secondary logical unit type 1 terminal by IMS.

Terminals belonging to a Finance Communication System such as the 3600 Finance Communication System or the 4700 Finance Communication System can be specified as UNITYPE=FINANCE on the TYPE macro statement. Terminals belonging to the 3600 Finance Communication System can also be specified as UNITYPE=3601. The code generated to support the terminal is identical regardless of whether the terminal is specified as UNITYPE=3601 or UNITYPE=FINANCE.