Desktop productivity for business analysts and programmers

ODS destination errors in log

Reply
Frequent Contributor
Posts: 81

ODS destination errors in log

After unsuccessfully attempting to run a program in SAS EG on my company's server, I'm seeing the following baffling ODS errors at the top of my log (plus the same "ERROR 180-322" errors repeated at the bottom of the log).                              

Any ideas what's going on here?

1          ;*';*";*/;quit;run;

2          OPTIONS PAGENO=MIN;

3          %LET _CLIENTTASKLABEL='cdps01_20110908_sas_server';

           _

           180

ERROR 180-322: Statement is not valid or it is used out of proper order.

4          %LET _CLIENTPROJECTPATH='';

           _

           180

ERROR 180-322: Statement is not valid or it is used out of proper order.

5          %LET _CLIENTPROJECTNAME='';

           _

           180

ERROR 180-322: Statement is not valid or it is used out of proper order.

6          %LET _SASPROGRAMFILE=;

           _

           180

ERROR 180-322: Statement is not valid or it is used out of proper order.

7         

8          ODS _ALL_ CLOSE;

9          OPTIONS DEV=ACTIVEX;

10         GOPTIONS XPIXELS=0 YPIXELS=0;

11         FILENAME EGSR TEMP;

12         ODS tagsets.sasreport12(ID=EGSR) FILE=EGSR STYLE=Analysis

12       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS2Home/x86/SASEnterpriseGuide/4.3/Styles/Analysis.css") NOGTITLE

                           _

                           22

12       ! NOGFOOTNOTE GPATH=&sasworklocation ENCODING=UTF8 options(rolap="on");

12         ODS tagsets.sasreport12(ID=EGSR) FILE=EGSR STYLE=Analysis

12       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS2Home/x86/SASEnterpriseGuide/4.3/Styles/Analysis.css") NOGTITLE

                           _

                           76

12       ! NOGFOOTNOTE GPATH=&sasworklocation ENCODING=UTF8 options(rolap="on");

ERROR 22-322: Syntax error, expecting one of the following: a quoted string, NONE. 

ERROR 76-322: Syntax error, statement will be ignored.

                                     

               

Valued Guide
Posts: 3,206

Re: ODS destination errors in log

There can be a lot of things having caused this.

When this code is run after some other you server process has got corrupted because of an other error.

- You are seeing at line 1 the magic string that should solve most of those.

   There must be one not being solved by this recovery.

   I do not see recovery from macro-code definition error or a missing ) . 

When this is you first code having run to the server than:

- The SASapp server has a lot of settings/options before your code is started.

- The Eguide software is submitting a lot of sas code to the server proces

What is your situation aside of that error?  Some code have run before on that (shared) server process?  

---->-- ja karman --<-----
Frequent Contributor
Posts: 81

Re: ODS destination errors in log

Thank you for the suggestions, Jaap - I never did figure out what I did wrong.

I eventually resorted to exitting out of SAS EG and rerunning my programs, and that worked.

Ask a Question
Discussion stats
  • 2 replies
  • 1174 views
  • 3 likes
  • 2 in conversation