The operations methods of an SNA resource are contained in the associated SNA model. By default, resources are associated with the supplied models.
You can change the operations methods of SNA resources by modifying the associated models. However, if you modify a model, the behavior of all resources associated with that model changes. If you want to change the behavior of a single resource only, associate it with a different model.
To change the model association for a resource
The SNA Resource panel appears.
The panel changes to a data-entry panel.
Specifies the SNA resource model that is used to operate the resource.
Press F3 (File).
The record is saved and the behavior of the resource now follows the methods in the new model.
Important! Changes to an SNA resource record are retained only across warm starts of the SNA resource discovery process. If you want the changes to be permanent, update the requirements in the $RSUSRAX SNA resource discovery exit. See the Administration Guide.
An SNA resource model, although a template, has its own special characteristics. The definition of an SNA resource model is similar to a template, but it does not have the following information:
The missing information, however, can be specified in the SNA group definition for SNA resources belonging to that group.
To define a resource model, you must enter information on a series of panels. This section describes considerations when using these panels.
To minimize processing overhead, you should not use activation processes in SNA resource models. The supplied models actually prevent you from adding activation processes.
The Recovery Details panel lets you:
To use the specified recovery method, enter YES in the Perform Recovery field on the Activation Details panel. The Perform Recovery and the Assume Status fields are mutually exclusive.
The restart control for SNA resources is similar to the standard restart control for resources that can be managed by the region.
Note: For information about the standard restart control, see the Reference Guide.
However, the behavior of the retry time period is different. The standard retry time period starts when a resource is first activated. For an SNA resource, the retry time period starts some time after first activation as follows:
Status monitoring of the managed SNA resources is performed in the SNA network model and does not use the display methods specified in the SNA resource models. The method specified in a resource model is used only when you issue the D command to display the status of an SNA resource.
When an APPL type SNA resource comes out of the ACTIVE, STARTING, or STOPPING actual state, sometimes no messages are generated to indicate the state change.
In the SNA resource model, you can activate heartbeat monitoring. Then when the model is associated with an APPL resource and that resource is in the ACTIVE, STARTING, or STOPPING state, polling takes place for that resource at regular intervals until a state change is detected.
You can change the polling interval by updating the AUTOSNACNTL parameter group.
When an attempt is made to connect to a switched PU type SNA resource, as indicated by the IST590I message, the resource is considered to be in the STARTING state. No messages are generated to indicate the actual activation of the resource, which might take some time to complete. Heartbeat monitoring enables the actual state change to be detected.
You can activate heartbeat monitoring in the SNA resource model. Then when the model is associated with a switched PU resource and a connection is made to that resource, polling takes place for that resource at regular intervals until a state change is detected or until the polling limit expires.
You can change the polling interval and limit by updating the AUTOSNACNTL region customization parameter group.
An SNA resource model definition does not provide extended message filtering and extended display attribute functions.
You cannot use the $AA-, $DN-, and $MN- special message prefixes in a model definition.
You can use variables with the &ZRS prefix to pass values to processes. However, in command strings and message text, you can only use the &ZRMDBNAME variable. You can also use the < and > characters for left-justified and right-justified fixed-length name fields in message text.
Note: For a list of &ZRS-prefixed variables, see the Administration Guide.
After you define a model, you can test it by using the event simulator. You can generate a simulated message for a particular SNA resource that is associated with the model and check the returned results. You simulate events from the Simulation Events List panel. To access the list, enter the /EADMIN.E path.
Note: For more information about how to simulate events, see the Administration Guide.
You define the message you want to simulate on the Simulate Message panel. To test SNA resources and the associated SNA resource models, you should specify the following values: