Previous Topic: ExamplesNext Topic: Sample 2


Sample 1

In the following example, the wklysales.doc file was transferred to the SYSA TCP/IP host for processing. The LPDDEST statement was coded as follows:

LPDDEST QDEST=DSPRT1,FDEST=DIST1,FOPTS=UQB,FAM=JES,FCLASS=N,FNAME=&J

The following LPR command was entered:

>LPR -Ssysa -Pdsprt1 -Jwordfile -C:WRITER=SALESWK wklysales.doc

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

SALESWK WORDFILE 6 11/09/03 10:02:02 0 N DIST1 Y USER

The report name for this example was carried over from the -C:WRITER parameter specified on the LPR command (SALESWK). The job name matches the value specified by the -J parameter on the LPR command (WORDFILE).

Note: For this value to be honored, the FOPTS parameter must be coded with a value of U and the FNAME parameter must be specified.