Previous Topic: Using ESFPRINT to Replace IBM CommandsNext Topic: Application Program Facilities


Examples

This example prints the contents of a data set on printer R001PRT1 from a TSO session.

ESFPRINT DSNAME(data.set.name) DEST(R001PRT1)

or

CALL 'ESF.loadlib.data.set(ESFPRINT)'
                 'DSNAME(data.set.name)' DEST(R001PRT1)

or

DSPRINT data.set.name R001PRT1

or

PRINTDS DSNAME(data.set.name) DEST(R001PRT1) MEMBERS

Print the contents of two data sets on this printer from a TSO session.

PRINTOFF (data.set1.name data.set2.name) DEST(R001PRT1)

Print the contents of a data set on printer R001PRT1 from a batch job.

// EXEC PGM=ESFPRINT,
//      PARM='DSNAME(data.set.name) DEST(R001PRT1)'

or - using the SYSIN option

// EXEC PGM=ESFPRINT,PARM='SYSIN'
//SYSIN DD *
  DSNAME(data.set.name) DEST(R001PRT1)
/*