Uti L Command - IBM 5100 Basic Reference Manual

Hide thumbs Also See for 5100:
Table of Contents

Advertisement

:(
(
UTI L{MOOE COM
}
[PRINT.]
[OIR [integerJ] I.dev-addressl
UTI L COMMAND
You can use the UTI L command to list a directory of a tape cartridge or to change
the 5100 operating mode from BASIC to communications. You need some space
in the work area in order to list a tape cartridge directory. If adequate work space
is not available during execution of a UTI L command, an error message (Appendix B)
is displayed. You must then clear the work area (with a LOAOO command, for
example) and reissue a UTI L command to continue. Information about each file on
the tape cartridge is printed or displayed on one line per file. If you specify a list
to the printer, all file information is printed without interruption. You can interrupt
the listing to either the display or printer by pressing the ATTN key, which will
terminate the command, or by pressing HOLD and pressing HOLD again to continue.
The following information is printed or displayed about each file:
• The file number.
• The identification you assigned to the file, if any (see SA VE Command).
File type (see File Types).
• The number of contiguous 1,024·bytes areas of storage allocated to the file.
• The number of contiguous 1,024-byte areas of storage unused in the file.
• A number (0-9) indicating the number of defective 512-byte areas in the file,
or an asterisk indicating that the number is greater than 9. This value can indicate
when you should relocate a file into another file or cartridge to avoid loss of
data due to defective areas on the tape.
• The first and last statement numbers for BASIC and SOURCE files.
Key numbers saved in the file for KEYS or KEY (0-9) files.
37

Advertisement

Table of Contents
loading

Table of Contents