I tried to install Proc Traj following the instruction on the Andrew website, using macro for 9.4, 64bit (since this is what I have).
However, when I try to run a code, I get this message ((I ran my own code, then tested the one on the website for example and I get same error):
379 OPTIONS NODATE NONUMBER;
380 TITLE ' ';
381 DATA OPPOSITN;
382 INPUT ID O1-O7; ARRAY T T1-T7 (-.4,0,.1,.2,.3,.4,.5);
383 CARDS;
NOTE: The data set WORK.OPPOSITN has 916 observations and 15 variables.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.00 seconds
1300 ;
1301 RUN;
1302
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [TRAJ]
ERROR: Read Access Violation TRAJ
Exception occurred at (03CA3AAB)
Task Traceback
Address Frame (DBGHELP API Version 4.0 rev 5)
0000000003CA3AAB 000000002963D110 sasxkern:tkvercn1+0x72A6B
0000000003E7CCFB 000000002963D118 sasyh:tkvercn1+0xBCBB
00000000299516C2 000000002963D358 traj:mcn_main+0x306C2
00000000299210D1 000000002963FBF0 traj:mcn_main+0xD1
0000000002A88A2B 000000002963FBF8 sashost:Main+0x10F0B
0000000002A8E65D 000000002963FF50 sashost:Main+0x16B3D
00007FF8BD0213D2 000000002963FF58 KERNEL32:BaseThreadInitThunk+0x22
00007FF8BD2854F4 000000002963FF88 ntdll:RtlUserThreadStart+0x34
NOTE: PROCEDURE TRAJ used (Total process time):
real time 0.04 seconds
cpu time 0.04 seconds
NOTE: The SAS System stopped processing this step because of errors.
1303 PROC TRAJ DATA=OPPOSITN OUTPLOT=OP OUTSTAT=OS OUT=OF OUTEST=OE ITDETAIL;
1304 ID ID; VAR O1-O7; INDEP T1-T7;
1305 MODEL CNORM; MAX 10; ORDER 3 3 3; RUN;
I have yet found an answer online on how to fix this, though I have seen other people with same issue and the main author does not offer much troubleshooting. Anyone had this problem and were able to solve it^
I had this same issue. I removed the 9.4 and used the 9.x, and it now works. I am not sure why, as I too am using 9.4.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.