Specify retention periods
These examples show how to specify these IP PrintWay™ retention periods:
- Retention period of 1 day (24 hours) if the transmission is successful
- Retention period of 4 days (96 hours) if the transmission fails
- In this example, the OUTPUT statement specifies a printer definition
name. IP PrintWay uses the retention values specified on the OUTPUT statement
instead of the values in this printer definition.
//PWAYJOBE JOB ...
//STEP1 EXEC PGM=USERA
//OUTDS OUTPUT FSSDATA='printer=myprinter',
// RETAINF='96:00:00',RETAINS='24:00:00'
//DD1 DD SYSOUT=P,OUTPUT=(*.OUTDS)
- In this example, the OUTPUT statement specifies a form and destination
name. IP PrintWay uses the retention values specified on the OUTPUT statement
instead of the values in the printer definition for the printer that
matches this form and destination name.
//PWAYJOBF JOB ...
//STEP1 EXEC PGM=USERA
//OUTDS OUTPUT CLASS=P,FORMS=WIDE,DEST=DEPT001,
// RETAINF='96:00:00',RETAINS='24:00:00'
//DD1 DD SYSOUT=(,),OUTPUT=(*.OUTDS)
- In this example, the OUTPUT statement specifies the name of the
print queue and the IP address of the host. IP PrintWay uses the retention
values specified on the OUTPUT statement instead of the values in
the default printer definition.
//PWAYJOBG JOB ...
//STEP1 EXEC PGM=USERA
//OUTDS OUTPUT CLASS=P,DEST='IP:99.153.123.232',PRTQUEUE='RAW',
// RETAINF='96:00:00',RETAINS='24:00:00'
//DD1 DD SYSOUT=(,),OUTPUT=(*.OUTDS)
|