Appendix I/TRSDOS Programs
This appendix contains five TRSDOS programs that you can use with
the SET, SYSTEM, and FILTER library commands. There
is
a short
explanation and examples for each program.
JOB
LOG
ROUTE
*JL
[TOJ
filespec
ROUTE
*JL
[TOJ
devspec
Establishes the TRSDOS Joblog device (*JL), which collects certain
information and sends
it
to
a filespec or devspec.
You can use JOBLOG to create a file that contains a list of
commands that you issue.
The information sent to
filespec or devspec consists of all commands
entered or received and the time (according to the system clock) that
the commands occur.
When you issue a RESET *JL command, the Joblog function ceases
and
filespec closes. See the ROUTE library command for additional
information.
To view the contents of a Joblog file, issue a RESET *JL command to
close the file, and then a LIST command to list the file's contents.
To view the contents of a Joblog disk file when it
is
open, add a
"trailing exclamation point" (
! ) to filespec (see "filespec"
in
the
GLOSSARY). Then use the LIST library command to list the file to the
screen or printer.
NOTE:
If
filespec already exists, information sent to it
is
appended to
the end of the file.
Examples
ROUTE
*JL
TO
LISTER/JBL
(ENTER)
sends a log of
all
commands entered and received to the file
L1STER/JBL.
ROUTE
*JL
TO
*PR
(ENTER)
sends a log of
all
commands entered and received to the printer.
A-91