Proc printto print statement not working in Enterprise Guide

  • Follow


I have the following codes, which run successfully in SAS 9.1 but when
I run it in EG, the output test.txt is blank. Can someone tell me why?

options nodate nonumber nocenter;

data test;
a="test1";
b="testing1";
output;
a="test2";
b="testing2";
output;
run;

proc printto print="c:\test.txt" new;
run;

proc print data=test noobs ;
title;
run;

proc printto;
run;


The EG log file is as following:

1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL=%NRBQUOTE(Code);
4          %LET _EGTASKLABEL=%NRBQUOTE(Code);
5          %LET _CLIENTPROJECTNAME=%NRBQUOTE();
6          %LET _SASPROGRAMFILE=;
7
8          ODS _ALL_ CLOSE;
NOTE: Some of your options or statements may not be supported with the
Activex or Java series of
      devices.  Graph defaults for these drivers may be different from
other SAS/GRAPH device
      drivers.  For further information, please contact Technical
Support.
9          OPTIONS DEV=ACTIVEX;
10         FILENAME EGHTML TEMP;
NOTE: Writing HTML(EGHTML) Body file: EGHTML
11         ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8'
STYLE=EGDefault
11       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared
%20Files/BIClientStyles/EGDefault.c
11       ! ss") ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/
graph/v91/sasgraph.exe")
11       ! NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation;
WARNING: Argument 1 to function TSLVL referenced by the %SYSFUNC or
%QSYSFUNC macro function is out
         of range.
12
13         %gaccessible;
14         options nodate nonumber nocenter;
15
16         data test;
17         a="test1";
18         b="testing1";
19         output;
20         a="test2";
21         b="testing2";
22         output;
23         run;

NOTE: The data set WORK.TEST has 2 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


24
25         proc printto print="c:\test.txt" new;
26         run;

NOTE: PROCEDURE PRINTTO used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


27
28         proc print data=test noobs ;
29         title;
30         run;

The SAS System

NOTE: There were 2 observations read from the data set WORK.TEST.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.03 seconds
      cpu time            0.00 seconds


31
32         proc printto;
33         run;

NOTE: PROCEDURE PRINTTO used (Total process time):
      real time           0.04 seconds
      cpu time            0.00 seconds


34
35         %LET _CLIENTTASKLABEL=;
36         %LET _EGTASKLABEL=;
37         %LET _CLIENTPROJECTNAME=;
38         %LET _SASPROGRAMFILE=;
39
40         ;*';*";*/;quit;run;
41         ODS _ALL_ CLOSE;
42
43
44         QUIT; RUN;
45
0
Reply sasuser8 (1) 5/26/2010 9:41:34 AM

It looks like it ran fine. What about it is not working?
Did you look for the file on the C drive of the server that is running
SAS?

On May 26, 5:41=A0am, sasuser sasuser <sasus...@gmail.com> wrote:
> I have the following codes, which run successfully in SAS 9.1 but when
> I run it in EG, the output test.txt is blank. Can someone tell me why?
>
> options nodate nonumber nocenter;
>
> data test;
> a=3D"test1";
> b=3D"testing1";
> output;
> a=3D"test2";
> b=3D"testing2";
> output;
> run;
>
> proc printto print=3D"c:\test.txt" new;
> run;
>
> proc print data=3Dtest noobs ;
> title;
> run;
>
> proc printto;
> run;
>
> The EG log file is as following:
>
> 1 =A0 =A0 =A0 =A0 =A0;*';*";*/;quit;run;
> 2 =A0 =A0 =A0 =A0 =A0OPTIONS PAGENO=3DMIN;
> 3 =A0 =A0 =A0 =A0 =A0%LET _CLIENTTASKLABEL=3D%NRBQUOTE(Code);
> 4 =A0 =A0 =A0 =A0 =A0%LET _EGTASKLABEL=3D%NRBQUOTE(Code);
> 5 =A0 =A0 =A0 =A0 =A0%LET _CLIENTPROJECTNAME=3D%NRBQUOTE();
> 6 =A0 =A0 =A0 =A0 =A0%LET _SASPROGRAMFILE=3D;
> 7
> 8 =A0 =A0 =A0 =A0 =A0ODS _ALL_ CLOSE;
> NOTE: Some of your options or statements may not be supported with the
> Activex or Java series of
> =A0 =A0 =A0 devices. =A0Graph defaults for these drivers may be different=
 from
> other SAS/GRAPH device
> =A0 =A0 =A0 drivers. =A0For further information, please contact Technical
> Support.
> 9 =A0 =A0 =A0 =A0 =A0OPTIONS DEV=3DACTIVEX;
> 10 =A0 =A0 =A0 =A0 FILENAME EGHTML TEMP;
> NOTE: Writing HTML(EGHTML) Body file: EGHTML
> 11 =A0 =A0 =A0 =A0 ODS HTML(ID=3DEGHTML) FILE=3DEGHTML ENCODING=3D'utf-8'
> STYLE=3DEGDefault
> 11 =A0 =A0 =A0 ! STYLESHEET=3D(URL=3D"file:///C:/Program%20Files/SAS/Shar=
ed
> %20Files/BIClientStyles/EGDefault.c
> 11 =A0 =A0 =A0 ! ss") ATTRIBUTES=3D("CODEBASE"=3D"http://www2.sas.com/cod=
ebase/
> graph/v91/sasgraph.exe")
> 11 =A0 =A0 =A0 ! NOGTITLE NOGFOOTNOTE GPATH=3D&sasworklocation;
> WARNING: Argument 1 to function TSLVL referenced by the %SYSFUNC or
> %QSYSFUNC macro function is out
> =A0 =A0 =A0 =A0 =A0of range.
> 12
> 13 =A0 =A0 =A0 =A0 %gaccessible;
> 14 =A0 =A0 =A0 =A0 options nodate nonumber nocenter;
> 15
> 16 =A0 =A0 =A0 =A0 data test;
> 17 =A0 =A0 =A0 =A0 a=3D"test1";
> 18 =A0 =A0 =A0 =A0 b=3D"testing1";
> 19 =A0 =A0 =A0 =A0 output;
> 20 =A0 =A0 =A0 =A0 a=3D"test2";
> 21 =A0 =A0 =A0 =A0 b=3D"testing2";
> 22 =A0 =A0 =A0 =A0 output;
> 23 =A0 =A0 =A0 =A0 run;
>
> NOTE: The data set WORK.TEST has 2 observations and 2 variables.
> NOTE: DATA statement used (Total process time):
> =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> 24
> 25 =A0 =A0 =A0 =A0 proc printto print=3D"c:\test.txt" new;
> 26 =A0 =A0 =A0 =A0 run;
>
> NOTE: PROCEDURE PRINTTO used (Total process time):
> =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> 27
> 28 =A0 =A0 =A0 =A0 proc print data=3Dtest noobs ;
> 29 =A0 =A0 =A0 =A0 title;
> 30 =A0 =A0 =A0 =A0 run;
>
> The SAS System
>
> NOTE: There were 2 observations read from the data set WORK.TEST.
> NOTE: PROCEDURE PRINT used (Total process time):
> =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.03 seconds
> =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> 31
> 32 =A0 =A0 =A0 =A0 proc printto;
> 33 =A0 =A0 =A0 =A0 run;
>
> NOTE: PROCEDURE PRINTTO used (Total process time):
> =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.04 seconds
> =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> 34
> 35 =A0 =A0 =A0 =A0 %LET _CLIENTTASKLABEL=3D;
> 36 =A0 =A0 =A0 =A0 %LET _EGTASKLABEL=3D;
> 37 =A0 =A0 =A0 =A0 %LET _CLIENTPROJECTNAME=3D;
> 38 =A0 =A0 =A0 =A0 %LET _SASPROGRAMFILE=3D;
> 39
> 40 =A0 =A0 =A0 =A0 ;*';*";*/;quit;run;
> 41 =A0 =A0 =A0 =A0 ODS _ALL_ CLOSE;
> 42
> 43
> 44 =A0 =A0 =A0 =A0 QUIT; RUN;
> 45

0
Reply Tom 5/26/2010 2:54:49 PM


It runs successfully in EG but the test.txt file is blank with 0kb.

On May 26, 10:54=A0pm, Tom Abernathy <tom.aberna...@gmail.com> wrote:
> It looks like it ran fine. What about it is not working?
> Did you look for the file on the C drive of the server that is running
> SAS?
>
> On May 26, 5:41=A0am, sasuser sasuser <sasus...@gmail.com> wrote:
>
>
>
> > I have the following codes, which run successfully in SAS 9.1 but when
> > I run it in EG, the output test.txt is blank. Can someone tell me why?
>
> > options nodate nonumber nocenter;
>
> > data test;
> > a=3D"test1";
> > b=3D"testing1";
> > output;
> > a=3D"test2";
> > b=3D"testing2";
> > output;
> > run;
>
> > proc printto print=3D"c:\test.txt" new;
> > run;
>
> > proc print data=3Dtest noobs ;
> > title;
> > run;
>
> > proc printto;
> > run;
>
> > The EG log file is as following:
>
> > 1 =A0 =A0 =A0 =A0 =A0;*';*";*/;quit;run;
> > 2 =A0 =A0 =A0 =A0 =A0OPTIONS PAGENO=3DMIN;
> > 3 =A0 =A0 =A0 =A0 =A0%LET _CLIENTTASKLABEL=3D%NRBQUOTE(Code);
> > 4 =A0 =A0 =A0 =A0 =A0%LET _EGTASKLABEL=3D%NRBQUOTE(Code);
> > 5 =A0 =A0 =A0 =A0 =A0%LET _CLIENTPROJECTNAME=3D%NRBQUOTE();
> > 6 =A0 =A0 =A0 =A0 =A0%LET _SASPROGRAMFILE=3D;
> > 7
> > 8 =A0 =A0 =A0 =A0 =A0ODS _ALL_ CLOSE;
> > NOTE: Some of your options or statements may not be supported with the
> > Activex or Java series of
> > =A0 =A0 =A0 devices. =A0Graph defaults for these drivers may be differe=
nt from
> > other SAS/GRAPH device
> > =A0 =A0 =A0 drivers. =A0For further information, please contact Technic=
al
> > Support.
> > 9 =A0 =A0 =A0 =A0 =A0OPTIONS DEV=3DACTIVEX;
> > 10 =A0 =A0 =A0 =A0 FILENAME EGHTML TEMP;
> > NOTE: Writing HTML(EGHTML) Body file: EGHTML
> > 11 =A0 =A0 =A0 =A0 ODS HTML(ID=3DEGHTML) FILE=3DEGHTML ENCODING=3D'utf-=
8'
> > STYLE=3DEGDefault
> > 11 =A0 =A0 =A0 ! STYLESHEET=3D(URL=3D"file:///C:/Program%20Files/SAS/Sh=
ared
> > %20Files/BIClientStyles/EGDefault.c
> > 11 =A0 =A0 =A0 ! ss") ATTRIBUTES=3D("CODEBASE"=3D"http://www2.sas.com/c=
odebase/
> > graph/v91/sasgraph.exe")
> > 11 =A0 =A0 =A0 ! NOGTITLE NOGFOOTNOTE GPATH=3D&sasworklocation;
> > WARNING: Argument 1 to function TSLVL referenced by the %SYSFUNC or
> > %QSYSFUNC macro function is out
> > =A0 =A0 =A0 =A0 =A0of range.
> > 12
> > 13 =A0 =A0 =A0 =A0 %gaccessible;
> > 14 =A0 =A0 =A0 =A0 options nodate nonumber nocenter;
> > 15
> > 16 =A0 =A0 =A0 =A0 data test;
> > 17 =A0 =A0 =A0 =A0 a=3D"test1";
> > 18 =A0 =A0 =A0 =A0 b=3D"testing1";
> > 19 =A0 =A0 =A0 =A0 output;
> > 20 =A0 =A0 =A0 =A0 a=3D"test2";
> > 21 =A0 =A0 =A0 =A0 b=3D"testing2";
> > 22 =A0 =A0 =A0 =A0 output;
> > 23 =A0 =A0 =A0 =A0 run;
>
> > NOTE: The data set WORK.TEST has 2 observations and 2 variables.
> > NOTE: DATA statement used (Total process time):
> > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > 24
> > 25 =A0 =A0 =A0 =A0 proc printto print=3D"c:\test.txt" new;
> > 26 =A0 =A0 =A0 =A0 run;
>
> > NOTE: PROCEDURE PRINTTO used (Total process time):
> > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > 27
> > 28 =A0 =A0 =A0 =A0 proc print data=3Dtest noobs ;
> > 29 =A0 =A0 =A0 =A0 title;
> > 30 =A0 =A0 =A0 =A0 run;
>
> > The SAS System
>
> > NOTE: There were 2 observations read from the data set WORK.TEST.
> > NOTE: PROCEDURE PRINT used (Total process time):
> > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.03 seconds
> > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > 31
> > 32 =A0 =A0 =A0 =A0 proc printto;
> > 33 =A0 =A0 =A0 =A0 run;
>
> > NOTE: PROCEDURE PRINTTO used (Total process time):
> > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.04 seconds
> > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > 34
> > 35 =A0 =A0 =A0 =A0 %LET _CLIENTTASKLABEL=3D;
> > 36 =A0 =A0 =A0 =A0 %LET _EGTASKLABEL=3D;
> > 37 =A0 =A0 =A0 =A0 %LET _CLIENTPROJECTNAME=3D;
> > 38 =A0 =A0 =A0 =A0 %LET _SASPROGRAMFILE=3D;
> > 39
> > 40 =A0 =A0 =A0 =A0 ;*';*";*/;quit;run;
> > 41 =A0 =A0 =A0 =A0 ODS _ALL_ CLOSE;
> > 42
> > 43
> > 44 =A0 =A0 =A0 =A0 QUIT; RUN;
> > 45

0
Reply YingTzu 5/27/2010 1:59:27 AM

Btw, the EG is running on my local PC

On May 27, 9:59=A0am, YingTzu Tan <tying...@gmail.com> wrote:
> It runs successfully in EG but the test.txt file is blank with 0kb.
>
> On May 26, 10:54=A0pm, Tom Abernathy <tom.aberna...@gmail.com> wrote:
>
>
>
> > It looks like it ran fine. What about it is not working?
> > Did you look for the file on the C drive of the server that is running
> > SAS?
>
> > On May 26, 5:41=A0am, sasuser sasuser <sasus...@gmail.com> wrote:
>
> > > I have the following codes, which run successfully in SAS 9.1 but whe=
n
> > > I run it in EG, the output test.txt is blank. Can someone tell me why=
?
>
> > > options nodate nonumber nocenter;
>
> > > data test;
> > > a=3D"test1";
> > > b=3D"testing1";
> > > output;
> > > a=3D"test2";
> > > b=3D"testing2";
> > > output;
> > > run;
>
> > > proc printto print=3D"c:\test.txt" new;
> > > run;
>
> > > proc print data=3Dtest noobs ;
> > > title;
> > > run;
>
> > > proc printto;
> > > run;
>
> > > The EG log file is as following:
>
> > > 1 =A0 =A0 =A0 =A0 =A0;*';*";*/;quit;run;
> > > 2 =A0 =A0 =A0 =A0 =A0OPTIONS PAGENO=3DMIN;
> > > 3 =A0 =A0 =A0 =A0 =A0%LET _CLIENTTASKLABEL=3D%NRBQUOTE(Code);
> > > 4 =A0 =A0 =A0 =A0 =A0%LET _EGTASKLABEL=3D%NRBQUOTE(Code);
> > > 5 =A0 =A0 =A0 =A0 =A0%LET _CLIENTPROJECTNAME=3D%NRBQUOTE();
> > > 6 =A0 =A0 =A0 =A0 =A0%LET _SASPROGRAMFILE=3D;
> > > 7
> > > 8 =A0 =A0 =A0 =A0 =A0ODS _ALL_ CLOSE;
> > > NOTE: Some of your options or statements may not be supported with th=
e
> > > Activex or Java series of
> > > =A0 =A0 =A0 devices. =A0Graph defaults for these drivers may be diffe=
rent from
> > > other SAS/GRAPH device
> > > =A0 =A0 =A0 drivers. =A0For further information, please contact Techn=
ical
> > > Support.
> > > 9 =A0 =A0 =A0 =A0 =A0OPTIONS DEV=3DACTIVEX;
> > > 10 =A0 =A0 =A0 =A0 FILENAME EGHTML TEMP;
> > > NOTE: Writing HTML(EGHTML) Body file: EGHTML
> > > 11 =A0 =A0 =A0 =A0 ODS HTML(ID=3DEGHTML) FILE=3DEGHTML ENCODING=3D'ut=
f-8'
> > > STYLE=3DEGDefault
> > > 11 =A0 =A0 =A0 ! STYLESHEET=3D(URL=3D"file:///C:/Program%20Files/SAS/=
Shared
> > > %20Files/BIClientStyles/EGDefault.c
> > > 11 =A0 =A0 =A0 ! ss") ATTRIBUTES=3D("CODEBASE"=3D"http://www2.sas.com=
/codebase/
> > > graph/v91/sasgraph.exe")
> > > 11 =A0 =A0 =A0 ! NOGTITLE NOGFOOTNOTE GPATH=3D&sasworklocation;
> > > WARNING: Argument 1 to function TSLVL referenced by the %SYSFUNC or
> > > %QSYSFUNC macro function is out
> > > =A0 =A0 =A0 =A0 =A0of range.
> > > 12
> > > 13 =A0 =A0 =A0 =A0 %gaccessible;
> > > 14 =A0 =A0 =A0 =A0 options nodate nonumber nocenter;
> > > 15
> > > 16 =A0 =A0 =A0 =A0 data test;
> > > 17 =A0 =A0 =A0 =A0 a=3D"test1";
> > > 18 =A0 =A0 =A0 =A0 b=3D"testing1";
> > > 19 =A0 =A0 =A0 =A0 output;
> > > 20 =A0 =A0 =A0 =A0 a=3D"test2";
> > > 21 =A0 =A0 =A0 =A0 b=3D"testing2";
> > > 22 =A0 =A0 =A0 =A0 output;
> > > 23 =A0 =A0 =A0 =A0 run;
>
> > > NOTE: The data set WORK.TEST has 2 observations and 2 variables.
> > > NOTE: DATA statement used (Total process time):
> > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > 24
> > > 25 =A0 =A0 =A0 =A0 proc printto print=3D"c:\test.txt" new;
> > > 26 =A0 =A0 =A0 =A0 run;
>
> > > NOTE: PROCEDURE PRINTTO used (Total process time):
> > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > 27
> > > 28 =A0 =A0 =A0 =A0 proc print data=3Dtest noobs ;
> > > 29 =A0 =A0 =A0 =A0 title;
> > > 30 =A0 =A0 =A0 =A0 run;
>
> > > The SAS System
>
> > > NOTE: There were 2 observations read from the data set WORK.TEST.
> > > NOTE: PROCEDURE PRINT used (Total process time):
> > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.03 seconds
> > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > 31
> > > 32 =A0 =A0 =A0 =A0 proc printto;
> > > 33 =A0 =A0 =A0 =A0 run;
>
> > > NOTE: PROCEDURE PRINTTO used (Total process time):
> > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.04 seconds
> > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > 34
> > > 35 =A0 =A0 =A0 =A0 %LET _CLIENTTASKLABEL=3D;
> > > 36 =A0 =A0 =A0 =A0 %LET _EGTASKLABEL=3D;
> > > 37 =A0 =A0 =A0 =A0 %LET _CLIENTPROJECTNAME=3D;
> > > 38 =A0 =A0 =A0 =A0 %LET _SASPROGRAMFILE=3D;
> > > 39
> > > 40 =A0 =A0 =A0 =A0 ;*';*";*/;quit;run;
> > > 41 =A0 =A0 =A0 =A0 ODS _ALL_ CLOSE;
> > > 42
> > > 43
> > > 44 =A0 =A0 =A0 =A0 QUIT; RUN;
> > > 45

0
Reply YingTzu 5/27/2010 2:24:16 AM

I've managed to find  the solution for this. It got something to do
with EG default output. Apparently, the default output is to HTML. So
I overwrite the output to text and it is working now. To do so,

1) right click and go to the properties of the task that runs the
codes
2) go to results and click on "Override the preferences set in Tools -
> Options "
3) check on "Text" only
4) click ok

More information, go to:
http://www.dummies.com/how-to/content/discovering-reporting-options-in-sas-=
enterprise-gu.html

On May 27, 10:24=A0am, YingTzu Tan <tying...@gmail.com> wrote:
> Btw, the EG is running on my local PC
>
> On May 27, 9:59=A0am, YingTzu Tan <tying...@gmail.com> wrote:
>
>
>
> > It runs successfully in EG but the test.txt file is blank with 0kb.
>
> > On May 26, 10:54=A0pm, Tom Abernathy <tom.aberna...@gmail.com> wrote:
>
> > > It looks like it ran fine. What about it is not working?
> > > Did you look for the file on the C drive of the server that is runnin=
g
> > > SAS?
>
> > > On May 26, 5:41=A0am, sasuser sasuser <sasus...@gmail.com> wrote:
>
> > > > I have the following codes, which run successfully in SAS 9.1 but w=
hen
> > > > I run it in EG, the output test.txt is blank. Can someone tell me w=
hy?
>
> > > > options nodate nonumber nocenter;
>
> > > > data test;
> > > > a=3D"test1";
> > > > b=3D"testing1";
> > > > output;
> > > > a=3D"test2";
> > > > b=3D"testing2";
> > > > output;
> > > > run;
>
> > > > proc printto print=3D"c:\test.txt" new;
> > > > run;
>
> > > > proc print data=3Dtest noobs ;
> > > > title;
> > > > run;
>
> > > > proc printto;
> > > > run;
>
> > > > The EG log file is as following:
>
> > > > 1 =A0 =A0 =A0 =A0 =A0;*';*";*/;quit;run;
> > > > 2 =A0 =A0 =A0 =A0 =A0OPTIONS PAGENO=3DMIN;
> > > > 3 =A0 =A0 =A0 =A0 =A0%LET _CLIENTTASKLABEL=3D%NRBQUOTE(Code);
> > > > 4 =A0 =A0 =A0 =A0 =A0%LET _EGTASKLABEL=3D%NRBQUOTE(Code);
> > > > 5 =A0 =A0 =A0 =A0 =A0%LET _CLIENTPROJECTNAME=3D%NRBQUOTE();
> > > > 6 =A0 =A0 =A0 =A0 =A0%LET _SASPROGRAMFILE=3D;
> > > > 7
> > > > 8 =A0 =A0 =A0 =A0 =A0ODS _ALL_ CLOSE;
> > > > NOTE: Some of your options or statements may not be supported with =
the
> > > > Activex or Java series of
> > > > =A0 =A0 =A0 devices. =A0Graph defaults for these drivers may be dif=
ferent from
> > > > other SAS/GRAPH device
> > > > =A0 =A0 =A0 drivers. =A0For further information, please contact Tec=
hnical
> > > > Support.
> > > > 9 =A0 =A0 =A0 =A0 =A0OPTIONS DEV=3DACTIVEX;
> > > > 10 =A0 =A0 =A0 =A0 FILENAME EGHTML TEMP;
> > > > NOTE: Writing HTML(EGHTML) Body file: EGHTML
> > > > 11 =A0 =A0 =A0 =A0 ODS HTML(ID=3DEGHTML) FILE=3DEGHTML ENCODING=3D'=
utf-8'
> > > > STYLE=3DEGDefault
> > > > 11 =A0 =A0 =A0 ! STYLESHEET=3D(URL=3D"file:///C:/Program%20Files/SA=
S/Shared
> > > > %20Files/BIClientStyles/EGDefault.c
> > > > 11 =A0 =A0 =A0 ! ss") ATTRIBUTES=3D("CODEBASE"=3D"http://www2.sas.c=
om/codebase/
> > > > graph/v91/sasgraph.exe")
> > > > 11 =A0 =A0 =A0 ! NOGTITLE NOGFOOTNOTE GPATH=3D&sasworklocation;
> > > > WARNING: Argument 1 to function TSLVL referenced by the %SYSFUNC or
> > > > %QSYSFUNC macro function is out
> > > > =A0 =A0 =A0 =A0 =A0of range.
> > > > 12
> > > > 13 =A0 =A0 =A0 =A0 %gaccessible;
> > > > 14 =A0 =A0 =A0 =A0 options nodate nonumber nocenter;
> > > > 15
> > > > 16 =A0 =A0 =A0 =A0 data test;
> > > > 17 =A0 =A0 =A0 =A0 a=3D"test1";
> > > > 18 =A0 =A0 =A0 =A0 b=3D"testing1";
> > > > 19 =A0 =A0 =A0 =A0 output;
> > > > 20 =A0 =A0 =A0 =A0 a=3D"test2";
> > > > 21 =A0 =A0 =A0 =A0 b=3D"testing2";
> > > > 22 =A0 =A0 =A0 =A0 output;
> > > > 23 =A0 =A0 =A0 =A0 run;
>
> > > > NOTE: The data set WORK.TEST has 2 observations and 2 variables.
> > > > NOTE: DATA statement used (Total process time):
> > > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > > 24
> > > > 25 =A0 =A0 =A0 =A0 proc printto print=3D"c:\test.txt" new;
> > > > 26 =A0 =A0 =A0 =A0 run;
>
> > > > NOTE: PROCEDURE PRINTTO used (Total process time):
> > > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.00 seconds
> > > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > > 27
> > > > 28 =A0 =A0 =A0 =A0 proc print data=3Dtest noobs ;
> > > > 29 =A0 =A0 =A0 =A0 title;
> > > > 30 =A0 =A0 =A0 =A0 run;
>
> > > > The SAS System
>
> > > > NOTE: There were 2 observations read from the data set WORK.TEST.
> > > > NOTE: PROCEDURE PRINT used (Total process time):
> > > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.03 seconds
> > > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > > 31
> > > > 32 =A0 =A0 =A0 =A0 proc printto;
> > > > 33 =A0 =A0 =A0 =A0 run;
>
> > > > NOTE: PROCEDURE PRINTTO used (Total process time):
> > > > =A0 =A0 =A0 real time =A0 =A0 =A0 =A0 =A0 0.04 seconds
> > > > =A0 =A0 =A0 cpu time =A0 =A0 =A0 =A0 =A0 =A00.00 seconds
>
> > > > 34
> > > > 35 =A0 =A0 =A0 =A0 %LET _CLIENTTASKLABEL=3D;
> > > > 36 =A0 =A0 =A0 =A0 %LET _EGTASKLABEL=3D;
> > > > 37 =A0 =A0 =A0 =A0 %LET _CLIENTPROJECTNAME=3D;
> > > > 38 =A0 =A0 =A0 =A0 %LET _SASPROGRAMFILE=3D;
> > > > 39
> > > > 40 =A0 =A0 =A0 =A0 ;*';*";*/;quit;run;
> > > > 41 =A0 =A0 =A0 =A0 ODS _ALL_ CLOSE;
> > > > 42
> > > > 43
> > > > 44 =A0 =A0 =A0 =A0 QUIT; RUN;
> > > > 45

0
Reply YingTzu 5/27/2010 3:55:20 AM

4 Replies
273 Views

(page loaded in 0.568 seconds)

Similiar Articles:







7/17/2012 2:39:34 AM


Reply: