Previous Topic: LPDDESTNext Topic: LPDSERV


LPDFILE

Syntax

LPDFILE QDEST=[ cccccccc | cccc* ], 
        QHOST=[ cccccccc | cccc* ], 
        QUSERID=[ cccccccc | cccc* ],
        QNAME=[ cccccccc | cccc* ], 
        FNAME=[ &xnol | cccccccc ], 
        FUSERID=[ &xnol | cccccccc ],
        FCLASS=[ &xnol | c ],       
        FDEST=[ &xnol | cccccccc ], 
        FFORM=[ &xnol | cccccccc ], 
        FDDNM=[ &xnol | cccccccc ], 
        FWRITER=[ &xnol | cccccccc ],
        FHEADER=[ nnnn | cccccccc ] 
        FFIEXT=[ &N9 | &xnol | ccc ],
        FVALEXT=EXT1/.../EXTn,
        FINVEXT=EXT1/.../EXTn

Description

The LPDFILE statement can be used to identify a specific print request based on the printer queue name, origin host, requestor's user ID and source file name, and to assign specific report identification attributes for use by a report management product.

LPDFILE Parameters

This section describes the LPDFILE parameters:

QDEST= cccccccc | cccc*

This parameter specifies the exact target printer queue name cccccccc or a generic printer queue name cccc* for which this LPDFILE parameter set is used.

When a print request is received, the best matching LPDDEST/LPDFILE parameter set is used. Best match on QDEST takes precedence over match on QHOST, QUSERID, and QNAME. There is no default value.

QHOST= cccccccc | cccc*

This parameter specifies the exact origin host name cccccccc or a generic origin host name cccc* for which this LPDFILE parameter set is used.

When a print request is received, the best matching LPDDEST/LPDFILE parameter set is used. A match on QDEST takes precedence over a match on QHOST.

There is no default value.

QUSERID= cccccccc | cccc*

This parameter specifies an exact requestor's user ID name cccccccc or a generic user ID name cccc* for which this LPDFILE parameter set is used.

When a print request is received, the best matching LPDDEST/LPDFILE parameter set is used. A match on QDEST takes precedence over a match on QHOST, which takes precedence over a match on QUSERID.

There is no default value.

QNAME= cccccccc | cccc*

This parameter specifies exact source file name cccccccc or a generic source file name cccc* for which this LPDFILE parameter set is used.

When a print request is received, the best matching LPDDEST/LPDFILE parameter set is used. A match on QDEST takes precedence over a match on QHOST, which takes precedence over a match on QUSERID, which takes precedence over a match on QNAME.

There is no default value.

FNAME= &xnol | cccccccc

This parameter specifies the output file name for incoming print requests. The file name must be a 1-to 12-character alphanumeric string. For JES and ESF output files, only the first eight characters are being used.

Valid values are:

The default value is taken from LPDSERV.

FUSERID= &xnol | cccccccc

This parameter specifies the user ID for incoming print requests; the user ID must be a 1-to 8-character alphanumeric string.

Valid values are:

The default value is taken from LPDSERV.

FCLASS= &xnol | c

This parameter specifies the output class to be used for incoming print requests.

Valid values are:

The default value is taken from LPDSERV.

FDEST= &xnol | cccccccc

This parameter specifies the output file destination name for incoming print requests; the destination name must be a 1-to 8-character alphanumeric string.

Valid values are:

The default value is taken from LPDSERV.

FDDNM= &xnol | cccccccc

This parameter specifies the output DDname for incoming print requests; the DDname must be a 1-to 8-character alphanumeric string. This parameter can be used to pass a unique file name to JES using the DDname parameter.

Valid values are:

The default value is taken from LPDSERV.

FFORM= &xnol | cccccccc

This parameter specifies the output file form-name for incoming print requests. The form-name must be a 1-to 8-character alphanumeric string. Note that for JES output files, only the first four characters of the form-name are used.

Valid values are:

The default value is taken from LPDSERV.

FWRITER= &xnol | cccccccc

This parameter specifies the output writer name for incoming print requests; the writer name must be a 1-to 8-character alphanumeric string. This parameter can be used to pass a unique file name to JES through the writer parameter.

Valid values are:

The default value is taken from LPDSERV.

FHEADER= nnnn | cccccccc

This parameter specifies where the data header line &D in the first received data buffer starts. The data header can be used for dynamic extracting of file attributes from the data file.

Valid values are:

The default value is taken from LPDSERV.

FFIEXT= &N9 | &xnol | ccc

This parameter specifies the file extension for incoming print requests. Valid values are:

The default is taken from LPDSERV.

FVALEXT= EXT1/…/EXTn

This parameter specifies the file extensions that the LPD Interface accepts. Valid file extensions must be separated with '/', and the parameter length cannot exceed 60 characters. If an invalid file extension is received, the print request is cancelled.

The default is taken from LPDSERV.

FINVEXT= EXT1/…/EXTn

This parameter specifies the file extensions that the LPD Interface rejects. Invalid file extensions must be separated with '/', and the parameter length cannot exceed 60 characters. If an invalid file extension is received, the print request is cancelled.

The default is taken from LPDSERV.