Error Condition
If
you ROUTE *CL
to
a file and
you
are receiving data from a
communications line (*CL), you might lose data if it is coming
in
at a
high speed.
If
so,
use CREATE
to
preallocate file space before using
ROUTE. This makes data loss less likely because the system no
longer has to spend the time allocating more space.
Sample Use
Suppose you want to route a report-producing program to a file
(instead of printing the report). Issue the command:
ROUTE
*PR
TO
REPORT /DAT
(ENTER)
Now you can
run
the program and the report that it produces is
routed to the file REPORT/OAT. This means that you can print the
report
in
the file REPORT/OAT whenever you want by using the LIST
command.
NOTE: Remember, you must reset *PR before listing the file so that it
will
be
properly closed.
1-109