[LISREL_SIMPLIS] Syntax help for a multi-group (3 groups) CFA

#1
Hello,

I am trying to run a multi-group CFA in LISREL by using SIMPLIS command language for writing the syntax. I am attempting the first model with all groups (configural invariance).

I am able to run a 2-group CFA and this is the syntax I am using (variable names changed)

! MULTIGROUP CFA
GROUP 1: NAME OF GROUP 1
RAW DATA FROM FILE XX
LATENT VARIABLES
LAT1 LAT2
RELATIONSHIPS
ITEM1 = 1* LAT1
ITEM2-ITEM10=LAT1
ITEM11 = 1* LAT2
ITEM12-20 = LAT2
SET THE VARIANCE OF LAT1 FREE
SET THE VARIANCE OF LAT2 FREE
SET THE COVARIANCE OF LAT1 AND LAT2 FREE
GROUP 2: NAME OF GROUP 2
{REPEAT LATENT VARIABLES, RELATIONSHIPS, ETC. AS FOR GROUP 1}
LISREL OPTIONS: MI
PATH DIAGRAM
END OF PROBLEM

When I try to add a 3rd group, I receive an error and the program crashes no matter what I do.
My syntax is exactly the same as for group 2 and I am adding it after the last line of command for group 2, before the LISREL OPTIONS command.

So, I am unsure whether this is a mistake in my syntax for how to add a 3rd group or something else that’s making LISREL crash.

Any ideas?

Thanks in advance!