Previous Topic: Sample 1Next Topic: Sample 3


Sample 2

In this second example, the Inventory.pdf file was routed to the CA Spool destination that was defined as follows:

LPDDEST QDEST=VIEWPR2,FAM=SAR,FFIEXT=&N9,FOPTS=B,FSAR=CAI.VIEW

The -J parameter has a different value from Sample 1 when the LPR command was entered:

>LPR -Ssysa -Pviewpr2 -Jlpdtest Inventory.pdf

VIEW 2.0 ALL ---------------- SYSOUT SELECTION LIST ---------------------------- COMMAND ===>        SCROLL ===> CSR SEL ID            JOBNAME      JOBID    ARCH DATE/TIME LOC    LINES  PAGES XCODE     INVENTORYPDF  LPDTEST               11/20/03 14:33 DISK       5      0

The report ID for this example was also created using the default information from the source file name and extension, resulting in a unique report ID. There is no FNAME specified on the LPDDEST statement. Also, JOBNAME changed according to the value specified in the J parameter when the LPR command was executed.