proc printto print="filename" not working in interactive sas
by rolandberry » Fri, 07 May 2004 16:23:40 GMT
I use sas in batch exclusively but I have to make sure interactive
users can use my macros. One of these macros redirects print output
using "proc printto print='filename'". This works in batch but when I
run it interactively, instead of sending the print output to the file
I specified, it still uses the output window. How do I get this to
work correctly in interactive sas?
Re: proc printto print="filename" not working in interactive sas
by rolandberry » Sat, 08 May 2004 00:02:39 GMT
Spotted it. I need to use the "nowd" option with "proc report" and then it is fine.
Similar Threads:
1."proc printto print=log" does not work.
"proc printto print=log" does not work for me. It does not complain -
it's just that the print output does not go to the log. I was sure
that this has worked in the past. Wassup?
2.Proc printto print statement not working in Enterprise Guide
3.SAS - Filenames for concatenated datastets - JFCB not working
I am looking to get the names of all the concatenated dataset for an
INFILE for further processing. The following is how I have coded so
far ....
JCL has:
//INREQTS DD DISP=SHR,DSN=OLVT.XFTP.ARPCDROM.RQSTFILE.G0056
// DD DISP=SHR,DSN=OLVT.XFTP.ARPCDROM.RQSTFILE.G0058
// DD DISP=SHR,DSN=OLVT.XFTP.ARPCDROM.RQSTFILE.G0059
SAS Data step:
DATA MASTER RQSTFILE(KEEP=REQFGOVO ACCTNUM);
INFILE INREQTS END=LAST RECFM=V JFCB=JFCB LENGTH=LEN
EOV=FIRST_RECORD;
LENGTH REQFGOVO $44;
RETAIN I 0 ;
RECORD = _N_;
I = 1;
INPUT @;
IF _N_ =1 or FIRST_RECORD
THEN DO;
REQFGOVO = SUBSTR(JFCB,
1,44);
OUTPUT RQSTFILE;
END;
...
....
....
OUTPUT MASTER;
RUN;
PROC PRINT DATA=RQSTFILE;
VAR REQFGOVO ;
SASLIST Shows:
Obs REQFGOVO
1 OLVT.XFTP.ARPCDROM.RQSTFILE.G0056
2 OLVT.XFTP.ARPCDROM.RQSTFILE.G0059
3 OLVT.XFTP.ARPCDROM.RQSTFILE.G0059
There one record in each of the files, I am getting all the 3 records
for further processing but not sure why G0058 is not showing ...
Your assistance in this matter will be greatly appreciated.
Thanks
4.Clearing work.GSEG window when working with GPLOT interactive
Dear SAS-L,
Does anyone know how to clear the work.GSEG window of plots from consecutive
plots (work.gseg.glpot[1..n]) when working with
SAS and running glpot interactively.
Thanks, any help is appreciated.
Jake
5.Print Preview not working
Using 9.1. (Badly)
When I try to use Print Preview from the Output window I've started
getting the message;
"The current printer settings do not allow Print Preview."
This has probably started as a result of my futile attempts to get my
program to produce its two reports in Portrait & Landscape format
respectively. I went tinkering with things that I don't know alot/
anything about but now can't manage to get Print Preview back working.
Can anyone help me with this?
cheers
Phil
6. Mainframe Interactive SAS expanded WORK library
7. How not to create proc print and proc gchart output on different page
8. proc report sas to excel: break not working