Desktop productivity for business analysts and programmers

GOPTIONS ERROR: Statement is not valid or it is used out of proper order.

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 138
Accepted Solution

GOPTIONS ERROR: Statement is not valid or it is used out of proper order.

[ Edited ]

All of the sudden I am getting a strange error in Enterprise Guide when I run a program query.  This only started happening when I started using SAS on a new PC.  The results still generate but this error won't go away.  Any ideas?

 


1          ;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='QUERY_FMFLOW_LOANSINPIPELINE_ARCHIVE';
4          %LET _CLIENTPROJECTPATH='L:\SAS Projects\Freddie Mac Dashboard Generation\Freddie Mac Dashboard Generation_v2.egp';
5          %LET _CLIENTPROJECTNAME='Freddie Mac Dashboard Generation_v2.egp';
6          %LET _SASPROGRAMFILE=;
7          
8          ODS _ALL_ CLOSE;
9          OPTIONS DEV=ACTIVEX;
10         GOPTIONS XPIXELS=0 YPIXELS=0;
10         GOPTIONS XPIXELS=0 YPIXELS=0;
           ________
           180
ERROR 180-322: Statement is not valid or it is used out of proper order.

11         
12         GOPTIONS ACCESSIBLE;
12         GOPTIONS ACCESSIBLE;
           ________
           180
ERROR 180-322: Statement is not valid or it is used out of proper order.

 

32         GOPTIONS NOACCESSIBLE;
32         GOPTIONS NOACCESSIBLE;
           ________
           180
ERROR 180-322: Statement is not valid or it is used out of proper order.


Accepted Solutions
Solution
‎01-05-2016 05:49 PM
Frequent Contributor
Posts: 138

Re: GOPTIONS ERROR: Statement is not valid or it is used out of proper order.

[ Edited ]

Sorry for the post.  After a little more digging, the answer in this linked post worked.

 

https://communities.sas.com/t5/SAS-Enterprise-Guide/Turning-off-goptions-in-SAS-EG-code-node/td-p/13...

 

 

View solution in original post


All Replies
Solution
‎01-05-2016 05:49 PM
Frequent Contributor
Posts: 138

Re: GOPTIONS ERROR: Statement is not valid or it is used out of proper order.

[ Edited ]

Sorry for the post.  After a little more digging, the answer in this linked post worked.

 

https://communities.sas.com/t5/SAS-Enterprise-Guide/Turning-off-goptions-in-SAS-EG-code-node/td-p/13...

 

 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 2182 views
  • 0 likes
  • 1 in conversation