Products   Support   Download   Contact

Implementing a Shared Batch Log Repository

return to contents or index

Abstract

By default, users' batch log files will be written to the directory defined by SYS$LOGIN. Sometimes it may be desirable to have all log files written to the same directory.

Q&A:

Question:

Our users submit reports to run in batch within XENTIS (execute with B or O). For each user, the batch log files created during execution are stored in the device and directory specified by SYS$LOGIN. How can I get all of the user's batch log files into one central directory?

Answer:

The Setup File parameters NOW-BATCH-QUE and NIGHT-BATCH-QUE contain the names of the queues XENTIS uses when executing in batch. These parameters may be set in either the System Setup File, XENTISSET.DAT, or, if the user modify flag is set to Y, a User Setup File, SETUP.DAT.

Both parameter values may include qualifiers for the DCL SUBMIT command appended on the end of the queue name. A valid qualifier is /LOG=dev:[dir] (where dev:[dir] is the location of the batch log files). Assuming the batch queue you wish to use is SYS$BATCH and the location you wish to use is DISKA:[LOG], change the value of the parameter to:

SYS$BATCH/LOG=DISKA:[LOG]

© 2020 GrayMatter Software Corporation