Vadim,
You are quite right. I put the code together and found to my dismay that third, fourth and probably deeper level loops were indeed possible!
My problem seems to be a with sequential looping at a nested level.
Level 1 sequential loop:
Script:
*FOR %FIRSTLOOP%=1,2,3
*XDIM_MEMBERSET ACCOUNTC = %FIRSTLOOP%
*NEXT
*FOR %SECONDLOOP%=A,B,C
*XDIM_MEMBERSET ACCOUNTC = %SECONDLOOP%
*NEXT
LGX:
*XDIM_MEMBERSET ACCOUNTC = 1
*XDIM_MEMBERSET ACCOUNTC = 2
*XDIM_MEMBERSET ACCOUNTC = 3
*XDIM_MEMBERSET ACCOUNTC = A
*XDIM_MEMBERSET ACCOUNTC = B
*XDIM_MEMBERSET ACCOUNTC = C
But here's a sequential loop at level 2:
Script:
*FOR %FIRSTLOOP%=1,2,3
*FOR %SECONDLOOP%=A,B,C*XDIM_MEMBERSET ACCOUNTC = %FIRSTLOOP%%SECONDLOOP% *NEXT *FOR %THIRDLOOP%=D,E,F *XDIM_MEMBERSET ACCOUNTC = %FIRSTLOOP%%SECONDLOOP% *NEXT *NEXT LGX:UJK_VALIDATION_EXCEPTION:Unknown or unimplemented keyword "*FOR %THIRDLOOP%=D,E,F"