Following is an example of a scheduled automatic reload of an NCP:
- Load and activate the NCP using the options PUNAME=X, NEWNAME=A,
and LOADMOD=A.
- Change the original NCP generation or write a new NCP definition
using the options NEWNAME=B and PUNAME=Y.
- Load the changed or new NCP generation, store it on the hard disk,
and set a time for it to IPL.
- The NCP is reloaded at the specified time. A soft INOP is generated,
and VTAM® tries to start a session
with the NCP. Because the PU name has changed, the session state will
be pending ACTPU (PAPU2).
- Even if you reloaded NCP with the same load module name, any new
resources defined to NCP in the new NCP generation (which is now loaded
in the NCP) will not be known to VTAM. Therefore, any attempts to work with these newly defined
resources fail. For VTAM to
be aware of the changes, use the VARY INACT command with the FORCE
option to bring down the session between VTAM and NCP and then activate the session using
the LOAD=NO option.
Note: If your NCP is in pending ACTPU state and
you have an active virtual route between VTAM and the NCP through another VTAM, then the ACTPU is sent over this virtual
route (rather than directly to the NCP over the original link). NCP
responds with an ACTPU response, but the load module name returned
is not the one VTAM is expecting.
You will receive message IST605I, and the session between NCP and VTAM is deactivated. In this case,
reactivate the session with the new load module name and the LOAD=NO
option.