BookmarkSubscribeRSS Feed
RobF
Quartz | Level 8

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.

                                     

               

2 REPLIES 2
jakarman
Barite | Level 11

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 --<-----
RobF
Quartz | Level 8

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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2586 views
  • 3 likes
  • 2 in conversation