BookmarkSubscribeRSS Feed
SAS93
Quartz | Level 8

I've just gotten SUDAAN installed to use the SAS-Callable features. 

But when I run procedures, it keeps giving me this error in the log:

 

842 proc crosstab data=other.fluvx design=strwor;
----
22
76
NOTE: An external program, not a SAS procedure, is being executed.

ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.
ERROR 76-322: Syntax error, statement will be ignored.

 

I originally had the dataset saved as a WORK. dataset, but read somewhere that sometimes Sudaan can't recognize .WORK, so I saved it in a permanent library. But that doesn't work either.

 

Any ideas? 

1 REPLY 1
ballardw
Super User

I think you need to have FILETYPE=SAS on the proc statement to tell the SUDAAN procedure the data is a SAS data set.

 

If that doesn't help, from using SUDAAN for several years in the SAS callable form have some things you can check. The combinations of which version of SUDAAN and which version of SAS are extremely important, bitness and version being common headaches. If SAS is 64-bit and SUDAAN is 32-bit version, or vice versa, then it won't work. Make sure that your version of SUDAAN is compatible with SAS. If SUDAAN says it is supposed to work with SAS 9.4.4 and you have SAS 9.4.5 or later then that can be an issue.

 

If your SAS is a server version then SUDAAN likely needs to be installed on the server but I never worked in that environment so don't know what other headaches like permissions may get involved.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1489 views
  • 0 likes
  • 2 in conversation