Product/components used and version/fix level:
Detailed explanation of the problem:
Error messages / full error message screenshot / log file:
Question related to a free trial, or to a production (customer) instance?
I was encoding a program and it gave an error in execution time since it called a subroutine and when returning from it I performed a loop for from 1 to 180 consulting by #X-ARRAY(#i), it gave me the NAT1257 but a SENIOR programmer came and solved it with *OCCURRENCE(#X-ARRAY), I did not know that it could be assigned in runtime dimension that way, making the code stay
FOR #J 1 *OCCURRENCE(#X-ARRAY)