Changing VTAM with VARY commands
One way you can change VTAM® is by using a VARY command. The VARY commands affect the status of each physical resource and session. They enable you to activate and deactivate individual resources or sessions. Using VARY commands, you can change the status of all resources, and you can change VTAM internal operations, such as path definitions.
In an earlier scenario, the inactive logical unit L3A3278B was
shown as being downstream from NCP3AA1. To review the status of this
LU, the operator enters:
d net,id=L3A3278B,scope=all
The display shows that the logical unit is still inactive. d net,id=L3A3278B,scope=all
IST097I DISPLAY ACCEPTED
IST075I NAME = NETA.L3A3278B, TYPE = LOGICAL UNIT
IST486I STATUS= NEVAC, DESIRED STATE= INACT
IST977I MDLTAB=***NA*** ASLTAB=***NA***
IST861I MODETAB=MODETAB2 USSTAB=***NA*** LOGTAB=***NA***
IST934I DLOGMOD=***NA*** USS LANGTAB=***NA***
IST597I CAPABILITY-PLU INHIBITED,SLU INHIBITED,SESSION LIMIT 00000001
IST081I LINE NAME = LN3A1, LINE GROUP = GRP3A1, MAJNOD = NCP3AA1
IST135I PHYSICAL UNIT = P3A3274A
IST082I DEVTYPE = LU
IST654I I/O TRACE = OFF, BUFFER TRACE = OFF
IST228I ENCRYPTION = NONE, TYPE = DES
IST171I ACTIVE SESSIONS = 0000000000, SESSION REQUESTS = 0000000000
IST172I NO SESSIONS EXIST
IST314I END
To activate the previously inactive logical unit, the operator
enters:
v net,act,id=L3A3278B
The display
shows: v net,act,id=L3A3278B
IST097I VARY ACCEPTED
IST093I L3A3278B ACTIVE
If the operator reissues the DISPLAY command, the display changes
as shown:
d net,id=L3A3278B,scope=all
IST097I DISPLAY ACCEPTED
IST075I NAME = NETA.L3A3278B, TYPE = LOGICAL UNIT
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST977I MDLTAB=***NA*** ASLTAB=***NA***
IST861I MODETAB=MODETAB2 USSTAB=***NA*** LOGTAB=***NA***
IST934I DLOGMOD=***NA*** USS LANGTAB=***NA***
IST597I CAPABILITY-PLU INHIBITED,SLU ENABLED ,SESSION LIMIT 00000001
IST081I LINE NAME = LN3A1, LINE GROUP = GRP3A1, MAJNOD = NCP3AA1
IST135I PHYSICAL UNIT = P3A3274A
IST082I DEVTYPE = LU
IST654I I/O TRACE = OFF, BUFFER TRACE = OFF
IST228I ENCRYPTION = NONE, TYPE = DES
IST171I ACTIVE SESSIONS = 0000000000, SESSION REQUESTS = 0000000000
IST172I NO SESSIONS EXIST
IST314I END
In this display, IST486I indicates that the desired and current states are now active.