I have a RPGLE
subprocedure that returns an array of dim(100) as output. When the array is not filled completely, I am seeing the blanks in unused indexes. I need to get rid off those trailing blanks and return only the array indexes with values.
Dcl-Pr SubProc char(10) dim(100);
End-Pr
Is it possible in RPG IV?