Error with sasioiom.py #525
-
I was trying to connect to my SAS On Demand of Academics Session with the following code:
was running Specific
Python version 3.10.9 and saspy version 4.6.0 The procedure ran but I got the following:
And It seems that something is wrong with me |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Well, what was in the LOG, it says there's an error. What's the error? You can see either in the ERROR_LOG that was returned, or via print(sas.lastlog()) (right after running that) or print(sas.saslog()) for the whole sas log. |
Beta Was this translation helpful? Give feedback.
-
Here was my error log. It seems to not be liking the |
Beta Was this translation helpful? Give feedback.
-
Well, I wouldn't believe that the syntax has changed for a SAS proc; that's not something that we allow; no breaking changes. So, I'm assuming it's just a valid syntax error and that there's some other statement that's required to get rid of this error? Googling the error, I found this communities thread which, although not the same, may give you an idea of what this proc might be expecting or require to be able to run right: https://communities.sas.com/t5/SAS-Programming/Error-in-estimate-and-contrast-statements-need-help-interpreting/td-p/97200 The error seems to imply that you need to have previously references the variables being used, but I have no idea how to use the proc, so I can't provide the exact answer. At least, the code generated appears to be correct for what you coded up. So I expect it's just another thing you need to provide to get it to run. |
Beta Was this translation helpful? Give feedback.
-
It was just a syntax error on my end |
Beta Was this translation helpful? Give feedback.
It was just a syntax error on my end