Hi All,
Some of the user are getting the below error message when they open the existing .egp, before executing the program.
User connecting to mainframe servers, Does any one come across this error. Can you please help me.
18 GPATH=&sasworklocation
19 ENCODING=UTF8
_
22
76
ERROR 22-322: Syntax error, expecting one of the following: BODY, CODE, CONTENTS, CSSSTYLE, DATA, DOM, ENCODING, EVENT, FILE,
FRAME, GPATH, PAGE, PATH, STYLE, STYLESHEET, TAGSET, TRANTAB, TYPE.
ERROR 76-322: Syntax error, statement will be ignored.
20 options(rolap="on")
21 ;
I have checked the server encoding its
SAS (r) Proprietary Software Release 9.4 TS1M2
Option Value Information For SAS Option ENCODING
Value: OPEN_ED-1142
Scope: SAS Session
Thanks,
Satish Pala
Please post the log into a window opened with the {i} button, so we can see which character position the error marker is pointing at.
Hi All,
Below is the error, its under ecoding=utf8
18 GPATH=&sasworklocation
19 ENCODING=UTF8
_
22
76
ERROR 22-322: Syntax error, expecting one of the following: BODY, CODE, CONTENTS, CSSSTYLE, DATA, DOM, ENCODING, EVENT, FILE,
FRAME, GPATH, PAGE, PATH, STYLE, STYLESHEET, TAGSET, TRANTAB, TYPE.
ERROR 76-322: Syntax error, statement will be ignored.
It looks like the error is coming from the ODS wrapper code that EG is generating, but as @Kurt_Bremser said, we would expect the ENCODING= value to be quoted, like this:
ODS HTML5(ID=EGHTML) FILE=EGHTML
OPTIONS(BITMAP_MODE='INLINE')
ENCODING='utf-8'
STYLE=HTMLBlue
NOGTITLE
NOGFOOTNOTE
GPATH=&sasworklocation;
Check the Encoding options and "additional" options in your Tools->Options->Results settings.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.