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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1363 views
  • 0 likes
  • 2 in conversation