Previous Topic: Variables

Next Topic: SNA Resource Message Routing Codes


SNA Resource Variables

Variables let you obtain information about an SNA resource, access knowledge base data, find out about the status of services, SNA groups and non-SNA resources, and extract information about messages.

You can use the following variables to retrieve data about an SNA resource and to pass values to the processes and NCL procedures invoked from SNA resource models.

&ZRSDESC

Contains the description of the resource.

&ZRSDOMAIN

Contains the name of the VTAM SSCP that owns the resource.

&ZRSDSTATUS

Contains the desired state of the resource.

&ZRSINREC

Contains the recovery status of the resource: NO or YES.

&ZRSMAJNODE

Contains the name of the major node that owns the resource. However, if the resource itself is a major node (as indicated by the &ZRSRSTYPE variable), this variable contains the type of the major node.

&ZRSMODEL

Contains the name of the SNA resource model associated with the resource.

&ZRSNETID

Contains the ID of the network to which the VTAM domain belongs.

&ZRSPRNAME

Contains the name of the upstream (superior) resource.

&ZRSPRTYPE

Contains the type of the upstream (superior) resource.

&ZRSREASON

Contains the reason for the resource state. The state may be set when the resource is discovered or may be set as a result of a state change caused by the receipt of a message.

&ZRSRSNAME

Contains the name of the resource.

&ZRSSTAMP

Contains the time when the resource was last updated, in the format yyyymmddhhmmss:

yyyy

Identifies the year (for example, 2001).

mm

Identifies the month (for example, 01).

dd

Identifies the day of the month.

hhmmss

Identifies the time of the day.

&ZRSSTATUS

Contains the actual state of the resource.

&ZRSRSTYPE

Contains the type of the resource.

&ZRSUSRTAG1 through &ZRSUSRTAG5

Contains the user-defined resource tags.

&ZRSVSTATUS

Contains the VTAM state of the resource.