READ_LABEL and WRITE_LABEL are utilities to read and write tape label files. Tape label files have only one record and consist of a MAST bank supporting a LABL bank.
To write a label file the command syntax is:-
$SNO_TOOLS/write_label.exetype label sequence filename e.g.
$SNO_TOOLS/write_label.exe start OXFD 0001 /dev/nrmt2hwhere:-
To read a label file the command syntax is:-
$SNO_TOOLS/read_label.exefilename e.g.
$SNO_TOOLS/read_label.exe /dev/nrmt2hIf the file is a label file then the utility produces output containing a line of the form:-
TAPELABEL label sequence typee.g.
TAPELABEL OXFD 0001 1where
Adding an addition parameter of any value e.g.:-
$SNO_TOOLS/write_label.exe /dev/nrmt2h anythingto either utility produces additional printout.