BookmarkSubscribeRSS Feed
Klara1
Calcite | Level 5

 

i downloaded and installed the externel program PROC LCA from the PennState University. I tried to run the test code provided by the developers:

 

DATA test;
INPUT it1 it2 it3 it4 count;
DATALINES;
1  1  1  1  5
1  1  1  2  5
1  1  2  1  9
1  1  2  2  8
1  2  1  2  5
1  2  2  1  8
1  2  2  2  4
2  1  1  1  5
2  1  1  2  3
2  1  2  1  6
2  1  2  2  8
2  2  1  1  3
2  2  1  2  7
2  2  2  1  5
2  2  2  2  10
;
RUN;
PROC LCA DATA=test;
NCLASS 2;
ITEMS it1 it2 it3 it4;
CATEGORIES 2 2 2 2;
FREQ count;
SEED 100000;
RHO PRIOR=1;
RUN;

 

Now i get the  following error that I don't know how to fix:

 

************************************************************************************************************

21 PROC LCA DATA=test;
----
22
202
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 202-322: The option or parameter is not recognized and will be ignored.
22 NCLASS 2;
23 ITEMS it1 it2 it3 it4;
24 CATEGORIES 2 2 2 2;
25 FREQ count;
26 SEED 100000;
27 RHO PRIOR=1;
28 RUN;

NOTE: Return code from LCA is -1073741510.
NOTE: PROZEDUR LCA used (Total process time):
******************************************************************************************************


I downloaded the 64-bit version for my 64-bit SAS and followed exactly the instructions of the developers.

Previously I used PROC LCA with SAS 9.3 and it ran smoothly. For SAS 9.4 I had to reinstall it and now it does not work anymore.

 

 

 

How can I fix this problem?

Thanks

2 REPLIES 2

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2 replies
  • 683 views
  • 0 likes
  • 2 in conversation