Frank Yaeger wrote:I'll have to try and find some more information about the Temp area, I thought I could use it as an area to build the records but I guess not.
I don't know what you mean by "the Temp area". DFSORT doesn't have one. A common technique with DFSORT is to add fields temporarily after the end of your records and then remove them. But we don't call that a "Temp area".
My apologies, beginner messing up.
What I'm calling the temp area, which I guess is wrong, is when you copy records to temp storage . . .
COPY FROM(INFL) TO(TEMP1) USING(CTL1)
I thought I could build records, field by field, using this area but it didn't work out in this case. Lack of knowledge.
Thanks again for your help.