Previous Topic: Use of Batch for SAR ReportsNext Topic: Dataset name and file Specifications:


Use - Batch - EXP Reports:

Add the DISK sub-parameter to DIST= parameter and other /EPRINT 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...
  /EPRINT ID=..reportid.. DIST=((..distid..)/DISK/)
  /*
  //

SARBCH displays the following message in the SYSPRINT dataset:

SARSPT86 SYSOUT queued for external printing, Dist=... at DISK

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

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