I have been using ADAUTIL and ADAULD for unloading Adabas files. Now, I want to pad ‘Low-values’ in the spaces where MU/PE (occurence) fields are not filled up to its maximum limit.
Say, maximum occurence is 5 for a field, say, AA. And, the actual number of times, AA field-value occurs is 3, like AA1AA2AA3. Now, i want to pad ‘low-values’ for remaining (5-3) = 2 occurences. i.e, I want it in the format AA1AA2AA3000000
(i.e, X’000’ for every remaining occurence)
Is there any way of unloading the files in this fixed-length format?