@Database Offline.guide @master Inet:docs/I-Net.guide @index "Inet:docs/Index.guide/main" @Author Michael B. Smith @$VER: Offline.guide 1.0 (21.12.94) @Width 80 @SmartWrap @Node Main "Offline" @{b}Offline@{ub} @{b}Offline@{ub} NAME @{b}Offline@{ub} - Instruct a SANA-II Device to go Offline SYNOPSIS Offline DEVICE/A UNIT/A DESCRIPTION The @{b}Offline@{ub} program sends an OFFLINE command to the specified SANA-II device. A SANA-II device must be put offline before it can be restarted, or the INet stack terminated. The @{b}Offline@{ub} program first tries to open DEVICE as specified by the user. If that fails, @{b}Offline@{ub} then tries to open DEVICE with the name prefixed by "DEVS:Networks". The @{b}Offline@{ub} program opens the DEVICE in promiscuous mode. EXAMPLE The command: offline slip.device 0 will send the SANA-II OFFLINE command to slip.device, unit 0; if the device can be opened. DIAGNOSTICS If @{b}Offline@{ub} experiences an error, the return value is set to 20. If the error is a SANA-II error, then the SANA-II error numbers are displayed in the Shell window. If @{b}Offline@{ub} succeeds, the return value is set to zero (0). SEE ALSO Online @EndNode