Previous Topic: Sample 1Next Topic: Transferring Files Using Native LPR


Sample 2

In this example, the Inventory.pdf file was transferred to the SYSA TCP/IP host for processing. The LPDDEST statement was coded as follows:

LPDDEST QDEST=DSPRT2,FDEST=DIST2,FOPTS=QB,FAM=JES,FCLASS=N,FWRITER=&N8
>LPR -Ssysa -Psalespr1 Inventory.pdf

In the LPDDEST statement, the FNAME parameter is omitted and the FOPTS parameter does not specify U.

Opt Report Jobname Job # Date Time Prty Cl Dest Hold Type

INVENTORY ESFSTC 4445 11/25/03 10:24:54 0 N DIST2 N USER

In this example, the report name was based on the source file name (INVENTORY) and was created based on the FWRITER parameter on the LPDDEST statement. Also, the FNAME parameter was omitted from the LPDDEST statement, so by default the job name is the name of the CA Spool started task (ESFSTC).

Important! These files cannot be opened in 3270 mode through CA Dispatch. To view these files, they must be accessed cooperatively through CA OM Web Viewer.

Note: For more information about LPDDEST statement and the use of dynamic value parameters, see the chapter "Configuration" in this guide. For more information about LPR commands, see the CA LPR Installation Guide.