U@DISTREPORT

U@DISTREPORT copies a report to a specified user directory, prints it, or both, based on report parameter data describing a distribution group and the report.

Module DATABASE
Input

E@JOBUSER

E@JOBNAME

E@STEPKEY

E@PRODUCTLINE

E@TOKEN

E@DSWORKFILE

E@DSRPTNAME

E@DSPRINTER

E@DSDISTGRP

E@DSNBRCOPIES

E@DSSVREPORT

Output The report stores or prints one or more times based on the specifications in the group list.

Programming Example

     EVAL      E@DSWORKFILE   = PRPRT1#WFNAME 
     EVAL      E@DSRPTNAME    = PRPRT1#NAME
     EVAL      E@DSDISTGRP    = DPWTDSTGRP            
     EVAL      E@DSPRINTER    = DPWTPRNTR              
     EVAL      E@DSNBRCOPIES  = DPWTNBRCPS        
     EVAL      E@DSSVREPORT   = DPWTSVRPRT             
     CALLP     U@DISTREPORT              Distribute Report