Usage Note 23415: When does ODS PRINTER start a new file?
If you are not in append mode, then
any time you specify the FILE=, HOST=, PCL=, PDF=, PDFMARK=, POSTSCRIPT= (alias PS=), PRINTER= (alias PTR=),
or SAS= options, ODS PRINTER closes the current file and starts a new
file, even if it's the same file you were writing to before.
The effect in such cases, if writing to a file rather than a physical
printer, is to overwrite the
previous contents, which is probably not what you intended.
Append mode is in effect when you use the MOD keyword on
a FILEREF statement, for example,
filename continued 'myfile.pcl' mod;
The appended file is valid when the following conditions
are both true:
- You are using the SAS drivers. (To find out whether you are invoking
the PC host drivers or the
SAS drivers, read FAQ 3336
about the PRINTER= and FILE= arguments.)
- You are not using the PDF option.
If the conditions are not true, then the appended
file is corrupt and unusable.
One additional restriction:
if you are using the POSTSCRIPT= (PS=) option, you can print the appended file but you
cannot view it or manipulate it online, for example, with
Ghostview or Adobe Acrobat Distiller.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) System Administration ==> Printing
|
| Date Modified: | 2005-02-07 15:00:52 |
| Date Created: | 2003-09-29 11:52:24 |