The first parm in ARGLEN is expected to be a number (length) not a format.
I would probably use the LENV function to find the length of a AnV field.
October 18, 2019, 11:00 AM
Tomsweb
David,
Here is my finished product.
TABLE FILE PARTNERSTATEMENTXREF
PRINT STATEMENTDISPLAYFORROLLUP
COMPUTE TLEN/I3 = ARGLEN(51, STATEMENTDISPLAYFORROLLUP, 'I3');
-*WHERE RECORDLIMIT EQ 5
ON TABLE HOLD AS TOMMY
END
-RUN
TABLE FILE TOMMY
PRINT STATEMENTDISPLAYFORROLLUP
BY HIGHEST 3 TLEN
END
-RUN
With these procedures I can create a larger sized field to carry that data forward.
Thank you.This message has been edited. Last edited by: Tomsweb,