Using The )Resume Command; More About Records And Files - IBM 5110 User Manual

Apl
Table of Contents

Advertisement

146
USING THE )RESUME COMMAND
There might be times when you are using a user-defined function to
do I/O operations and you want to stop the I/O operation until a later
time. If you suspend the user-defined function by pressing A TIN once
(a weak interrupt) and then write the contents of the active workspace
to the media using the )CONTINUE command, you can use the
)RESUME command to load the stored workspace into the active
workspace and reestablish the system as it was. That is, the shared
variables and suspended function are reestablished in the active
workspace, and, if you enter
-+
OLC the user-defined function
continues execution from the point where it was suspended.
Note: When you use the )RESUME command, you must make sure
that the tapes or diskettes are correctly positioned. See the IBM 5110
APL Reference Manual for a complete description of the )RESUME
command.
MORIE ABOUT RECORDS AND FILES
The basic unit of organized data is the record. A record is a collection
of related data items that are treated as a unit. For example, the
driver's license most of us carry is a record. A time card is also a
record. Each record contains items related to the purpose of the
record. The related items are called fields. The following illustration
shows a record containing the fields of information that might be
found on a driver's license:
Drivers Name
Address
License No.

Advertisement

Table of Contents
loading

Table of Contents