Syntax: PRTEXP Procedure


Note: If neither the SELECT nor the EXCLUDE statement is used, then all of the printers will be included in the output.

PROC PRTEXP <option(s)>;

  • <SELECT printer_1 <printer_n>>;

  • <EXCLUDE printer_1 <printer_n>>;

PROC PRTEXP Statement

PROC PRTEXP < option(s) >;

Options

USESASHELP

  • specifies that SAS search only the SASHELP portion of the registry for printer definitions.

  • Default: The default is to search both the SASUSER and SASHELP portions of the registry for printer definitions.

OUT= SAS-data-set

  • specifies the SAS data set to create that contains the printer definitions.

    The data set that is specified by the OUT= SAS-data-set option is the same type of data set that is specified by the DATA= SAS-data-set option in PROC PRTDEF to define each printer.

  • Default: If OUT= SAS-data-set is not specified, then the data that is needed to define each printer is written to the SAS log.

EXCLUDE Statement

The EXCLUDE statement will cause the output to contain information from all those printers that are not listed.

EXCLUDE printer_1 <printer_n>;

Required Arguments

printer_1 printer_n

  • specifies the printer(s) that you do not want the output to contain information about.

SELECT Statement

The SELECT statement will cause the output to contain information from only those printers that are listed.

SELECT printer_1 <printer_n>;

Required Arguments

printer_1 printer_n

  • specifies the printer(s) that you would like the output to contain information about.




Base SAS 9.1.3 Procedures Guide (Vol. 2)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 142

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net