March Products 204 Computer Monitor User Manual


 
——————————————————————————————————————————
Running SirFile under BATCH204
——————————————————————————————————————————
The job is simply a BATCH204 job that contains CCASYS and CCAGRP, and it has a
DD card for any file SirFile is going to monitor. The IODEV=15 statement is required;
change it to IODEV=nn if you reset the SDAEMDEV parameter to nn. SYSOPT for the
job must allow for use of Groups and Application Subsystems. If any file is not yet in the
SirFile database or requires a password to open, it should be opened explicitly in the
CCAIN stream.
The command SIRFILE BATCH tells the SIRFILE APSY to run through the Refresh
process, including TABLEC calculations for CFULLP (Table C percentage full) if
CFULLP allocation is not determined file-by-file.
Note: A file must be open with File Manager privileges (PRIVDEF must contain the
x'8000' bit) in order for the TABLEC command to operate. When SirFile adds files to its
APSY definition, it adds them with privileges x'0221' to SCLASS “USER” and x'8221' to
SCLASS “ADMIN”. If a site wants to run the batch job with TABLEC commands for each
file, the logged-on user in the batch job must be in the ADMIN SCLASS.
Users may customize their run by manually changing privileges for specific files in the
USER SCLASS to x'8221'. Then, running SIRFILE BATCH with a user ID from the
USER SCLASS will only calculate TABLEC for the files with high privileges. (Note that
the output will show a failure of the TABLEC command for all files with too low of
privileges).
——————————————————————————————————————————
36 SirFile User's Guide