Release a previously acquired NCP: >>-VARY-- --NET--,--REL--,--ID--=--ncp_name---------------------> .-,--CDLINK--=--ACT-------. >--+------------------------+--+-------------------------+------> '-,--OWNER--=--host_name-' '-,--CDLINK--=--+-ACT---+-' '-INACT-' >--+--------------------------+-------------------------------->< '-,--TYPE--=--+-GIVEBACK-+-' '-IMMED----'
Release a PU: >>-VARY-- --NET--,--REL--,--ID--=--pu_name----------------------> .-,--FINAL--=--NO------. >--+------------------------+--+----------------------+---------> '-,--OWNER--=--host_name-' '-,--FINAL--=--+-NO--+-' '-YES-' >--+-------------------+--------------------------------------->< '-,--TYPE--=--IMMED-'
Operand | Abbreviation |
---|---|
VARY | V |
FINAL=YES | FINAL |
TYPE=GIVEBACK | G or GIVEBACK |
TYPE=IMMED | I or IMMED |
When using an abbreviation in place of an operand, code the abbreviation exactly as shown in the table. For example, when coding the abbreviation for TYPE=IMMED, code only I or IMMED. Do not code TYPE=I.
Use the VARY REL (release) command to release a previously acquired NCP or to release a physical unit attached by a nonswitched line to an NCP (regardless of whether the physical unit was previously acquired).
Releasing resources within an NCP makes them unknown to VTAM® until the NCP is reacquired, and any active traces for subordinate lines are deactivated; releasing a physical unit makes it unusable by the releasing host and makes its logical units unknown until the physical unit is reacquired. Releasing an NCP that had not been previously active also results in deactivation of the NCP. (Here there is no functional difference between the VARY REL and VARY INACT commands.)
As part of a switched network backup procedure for NCP resources, the VARY REL command can be entered for a physical unit that was not previously acquired. The purpose of the VARY REL command is to make the physical unit's logical units unknown to VTAM so that a corresponding switched physical unit definition (representing the same physical device with a different physical unit name but with the same logical unit names) can be activated.
For an NCP that was activated before being acquired, the CDLINK operand is ignored. The NCP remains active after the VARY REL command completes. Even though VTAM considers such links and link stations to be inactive, the NCP still considers them to be owned by VTAM. Therefore, specifying CDLINK=ACT in an environment of shared link and link station ownership might provide no benefits (because the shared ownership prevents traffic disruption on the link), but could cost the ability of another host to become a shared owner (because the share count is one closer to its limit than it needs to be). It could also prevent the original host from acquiring and activating the link. See the z/OS Communications Server: SNA Network Implementation Guide for details of special considerations and cautions that might be applicable to deactivation of cross-domain links and link stations.
FINAL=YES is ignored for type 2.1 physical units if ACTPU is not sent.
You can specify TYPE=IMMED on a VARY REL command entered while a normal or giveback release is in progress.