VM/CMS CP VARY Command
Makes a real device on or off line
Priviledge Class B
Makes a device available (online) or unavailable (offline) to the control program or user VM's.
Unit record device status survives a warm start. A cold start will reset all devices to online.
Reference the detailed IBM manaul page here.