Owner`s manual

Page 7-6 Chapter 7
JOBALC LOGJOB ; Name the job
TRMDEF LOGTRM,PSEUDO,NULL,100,100,100 ; Set pseudo-terminal
;
ATTACH LOGTRM,LOGJOB ; Initialize the job
KILL LOGJOB
FORCE LOGJOB ; Force input into job
MEMORY 10K ; Give job 10K
LOG SYSTEM SERVICE ; Log job onto system
LOGGER 7 ; Execute LOGGER
; Blank line above ends FORCE
The background job that runs LOGGER needs at least 10K of memory.
The 7 in the above example sets the minimum severity an event needs to have to get
logged. The higher the number, the more events are recorded in the log file. 7 is
generally a good choice; higher settings can slow down system operation and take up
disk space by recording too many events in the log file.
If you want the log to go to a file other than the default of OPR:SYSLOG.SYS, you can
enter a file specification after the event level on the LOGGER command line.
7.5SETTING UP THE TASK MANAGER
The Task Manager allows you to run "batch" jobs on your computer. A task submitted
to the Task Manager is run in the background by a special job. See your
Task Manager
User’s Manual
for more information.
7.6SETTING UP THE PRINT SPOOLER
A spooler is a program that sets up a queue (or waiting line) for a particular program.
When a printer spooler is in control, requests for use of the printer are placed into a
queue. As the printer becomes available, the spooler looks at the request at the top of
the list, finds the file, and sends it to the printer. The spooler then removes that request
from the queue. The printer prints files in the order of their requests in the queue.
The print spooler uses the Task Manager, and must be brought up by using the TSKINI
program in the system initialization command file.
Setting up a printer spooler is a good example of the kinds of things you can ask the
system initialization command file to do at the time of system start up. For a detailed
explanation of how to set up the printer spooler, see your
System Operator’s Guide
.
System Operator’s Guide to the System Initialization Command File, Rev. 03