BookmarkSubscribeRSS Feed
prp1
Calcite | Level 5

I have installed proc traj but I am getting the following error in SAS after running proc traj. 

code: proc traj data=ds.miss outplot=op;
var bmi1-bmi60;
indep visit_date1-visit_date60;
model logit;
ngroups 2;
order 0 1;
id anon_id;
run;

Error:

proc traj data=ds.miss outplot=op;
----
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.
169 var bmi1-bmi60;
170 indep visit_date1-visit_date60;
171 model logit;
172 ngroups 2;
173 order 0 1;
174 id anon_id;
175 run;

NOTE: The SAS System stopped processing this step because of errors.

5 REPLIES 5
sbxkoenk
SAS Super FREQ

Hello,

 

What SAS version are you running?

Submit 

%PUT &=sysvlong4;

to find out !

 

With these non-SAS 'owned' procedures, like PROC TRAJ , PROC LCA , SUDAAN , ...
, the mismatch between the PROC and the SAS version might be an issue.

Also 32-bit vs. 64-bit might be an issue.

 

Good luck,

Koen

prp1
Calcite | Level 5

I am using SAS 9.4.

I downloaded 64-bit. Will try with 32-bit.

Thanks.

SASKiwi
PROC Star

Is SAS 9.4 installed on your PC or a remote SAS server? Remote SAS server versions are always 64-bit. If SAS is on your PC then being 32-bit is possible - check in your Windows Control Panel to confirm.

sbxkoenk
SAS Super FREQ

My localhost SAS 9.4 M7 is running on 64-bits :

 

%PUT &=SYSHOSTINFOLONG;
SYSHOSTINFOLONG=X64_10PRO WIN 10.0.19041  Workstation

Koen

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 688 views
  • 1 like
  • 4 in conversation