Hi all:
Let's start with "known"
<1> *a9999 provides the size of an item
<2> Similarly the u7000 user exit returns the size of an item.
<3> LEN(My_Variable) returns the length of My_Variable
I need to prevent overflow so I need to defensively check for a certain "overflow" value (to be determined).
ByteSize = function{variable}
If ByteSize > {a predetermined value} then {defensive code}
Else {variable := {continue to build variable }
I searched for some function to do this but alas.
Does anyone out there have an elegant solution?
Thanks
Stefano


