CSQJUFMT (log preformat utility)" /> Invoking the CSQJUFMT utility

 

Invoking the CSQJUFMT utility

We can only run the CSQJUFMT program before starting the queue manager that will use the logs.

Note:
Do not use this utility to format a log data set after the queue manager has started, or data will be lost.

These DD statements should be provided:

SYSPRINT

This statement is required to specify a data set or print spool class for print output.

SYSUT1

This statement identifies the log data set to be preformatted.

Figure 77. Example of the JCL used to invoke the CSQJUFMT utility

  //JOBLIB    DD   DISP=SHR,DSN=thlqual.SCSQANLE
  //          DD   DISP=SHR,DSN=thlqual.SCSQAUTH
  //*
  //JUFMT11   EXEC PGM=CSQJUFMT
  //SYSPRINT  DD   SYSOUT=*
  //SYSUT1    DD   DISP=OLD,DSN=hlq.LOGCOPY1.DS01
  //*
  //JUFMT21   EXEC PGM=CSQJUFMT
  //SYSPRINT  DD   SYSOUT=*
  //SYSUT1    DD   DISP=OLD,DSN=hlq.LOGCOPY2.DS01

Sample JCL is supplied in thlqual.SCSQPROC (CSQ4LFMT) for preformatting a newly-defined dual log data set. It contains two steps, one step to format each of the copies of the log data set.