I have come across an array statement which looks like this.
array credlimchg [1:3,0:1,1:2]
The first dimension corresponds to the rows and the second one to columns, but I am an unable to wrap my head around how to visualize the third one.
set test; Set test;
array credlimchg [1:3,0:1,1:2]
acs_dec_amt
acs_dec_cnt
acs_inc_amt
acs_inc_cnt
man_dec_amt
man_dec_cnt
man_inc_amt
man_inc_cnt
oth_dec_amt
oth_dec_cnt
oth_inc_amt
oth_inc_cnt;
do x=lbound(credlimchg,1) to hbound(credlimchg,1);
do y=lbound(credlimchg,2) to hbound(credlimchg,2);
do z=lbound(credlimchg,3) to hbound(credlimchg,3);
credlimchg[x,y,z]=0;
end;
end;
end;
..............
run;
Any help is greatly appreciated.
... View more