Version: @(#) ChkTape 20081208 Usage: chktape devicenumber [ALL | ALLALL] Where devicenumber is the device number (LDEV) of the tape drive. Examples: run chktape.pub.allegro;info="7" ... quick info about LDEV 7 run chktape.pub.allegro;info="7 ALL" ... more info about LDEV 7 Returns in CI variable CHKTAPE_RESULT: 0 - Tape is unowned, online, at BOT and writeable 1 - Tape is unowned, online, at BOT andwrite protected 2 - An error occurred. Probably an invalid device number 3 - Device is not a tape drive 4 - Device is owned by another process 5 - Device is owned by the system 6 - Device is not online 7 - No tape in device ChkTape must reside in a group.account with PM capability. ChkTape was originally written by Terry Tipton of ROC Software, and has been modified by Stan Sieler of Allegro Consultants.