Load Command; Listing A Directory Of Programs - IBM 5110 Basic Introduction

Table of Contents

Advertisement

44
In order to run the program again, it must first be loaded into storage
from where it was stored on the tape or diskette. The LOAD
command is used to place the program back into storage.
LOAD Command
To load the SAVINGS program back into 5110 storage, enter LOAD,
then enter the number and/or name of the file containing the program
you want to load. In this example, type in 1 for file 1, then enter
device address E80 for tape or 080 for diskette. Complete this
sequence by pressing EXECUTE. The READY message tells you that
the program is loaded and can be executed again. Run the program
again by entering RUN, then pressing EXECUTE.
Practice the SAVE and LOAD commands by changing the file number
and file name when you again save the sample program on tape or
diskette and load it back into the system.
Listing a Directory of Programs
When you save a program, it goes into your collection of programs
and data on tape or diskette. You may find it necessary at times to
list a directory of the programs you have in the files on tape or
diskette. To do this, you use the UTIL command. The UTIL command
instructs the system to list the following information about each file on
tape or diskette:
• File number
• File identification
• File type
• Amount of storage allocated to the file
• Amount of unused storage in the file
• Number of defective areas (on tape only)
• File protection status (on diskette only)
• Data set starting location (on diskette only)
• Function keys defined in the file
o
,[-);1,
,~
,
10- • • • •
,1
o
44
In order to run the program again, it must first be loaded into storage
from where it was stored on the tape or diskette. The LOAD
command is used to place the program back into storage.
LOAD Command
To load the SAVINGS program back into 5110 storage, enter LOAD,
then enter the number and/or name of the file containing the program
you want to load. In this example, type in 1 for file 1, then enter
device address E80 for tape or 080 for diskette. Complete this
sequence by pressing EXECUTE. The READY message tells you that
the program is loaded and can be executed again. Run the program
again by entering RUN, then pressing EXECUTE.
Practice the SAVE and LOAD commands by changing the file number
and file name when you again save the sample program on tape or
diskette and load it back into the system.
Listing a Directory of Programs
When you save a program, it goes into your collection of programs
and data on tape or diskette. You may find it necessary at times to
list a directory of the programs you have in the files on tape or
diskette. To do this, you use the UTIL command. The UTIL command
instructs the system to list the following information about each file on
tape or diskette:
• File number
• File identification
• File type
• Amount of storage allocated to the file
• Amount of unused storage in the file
• Number of defective areas (on tape only)
• File protection status (on diskette only)
• Data set starting location (on diskette only)
• Function keys defined in the file
o
,[-);1,
,~
,
10- • • • •
,1
o

Advertisement

Table of Contents
loading

Table of Contents