Previous Topic: Use of EXP Mode:Next Topic: Use - Batch - EXP Reports:


Use of Batch for SAR Reports

Add the DEST=DISK parameter to other /PRINT control statement parameters in the batch job:


  //         JOB
  //STEP1    EXEC PGM=SARBCH
  //STEPLIB  DD  DISP=SHR,DSN=.........CVDELOAD
  //SYSPRINT DD  SYSOUT=*
  //SYSIN    DD *
  /DBASE NAME=...db_hlq...
  /PRINT ID=..reportid.. DEST=DISK
  /*
  //

SARBCH displays the following message in the SYSPRINT dataset:

SARBCP28  SYSOUT queued for external print  

The sample program displays the following message in the job log:

SARXPD02 Report queued to dataset: ...dataset_name...