


Why do you have to limit your array to 9999 elements? Please show your definitions. It will be easier if we know what definitions are involved.
If it turns out that you can't specify an array large enough, you will need to code a 'handler' procedure and use the %HANDLER() format of XML-INTO.
Tom


Thanks Tom I got my answer i wil use %handlerthanks once again
Is it clear that (9999) is not the limit for elements in arrays? The smallest limit in current releases is 32767, while the most current limit is 16773104 elements. Data structures have similar limits. Total size of a defined data structure or array in the current release is 16773104 bytes. (The number of elements along with total size implies that such an array would have elements that are 1 byte each.) A %HANDLER() procedure would be called for when a XML attribute is too large to handle or perhaps is radically variable that it’s too inefficient to declare maximum allowed size. — Tom