I am using SAS version 9.2 TS2 M3 & have a small question about the
following proc IML code.
do i=1 to 4;
do j=1 to 4;
When I run this code, the log file (see below) doesnt show the 'quit'
part, even though I ran the entire code.
388 proc iml;
NOTE: IML Ready
389 do i=1 to 4;
390 print i;
391 do j=1 to 4;
392 print j;
I have to explicitly enter an 'end' in command bar, after which the
following lines appear in the log file
NOTE: Exiting IML.
NOTE: PROCEDURE IML used (Total process time):
real time 23.03 seconds
cpu time 0.39 seconds
Any operation in the windows gives the following message:
"IML is currently suspended. To resume processing submitted statements
return to the Output window and enter either BOTTOM; FORWARD or END."
I have figured that it has something to do with the presence of 2 do
loops within each other.It works fine if I remove the 2nd do loop
(indexed by j).
Could someone please explain why this is happening & how I can correct
Thanks in advance,
||12/9/2010 3:34:17 AM