Posted: Wed Dec 22, 2004 10:29 am Post subject: DFSORT: convert spaces to packed zero
Greetings,
I hope this question hasn't already been answered elsewhere. I did the searches I could think of and didn't find anything.
I have an LRECRL=80 file in which I need to convert columns 50-56 to a packed field with a value of zero, but only if columns 50-56 contain spaces (i.e. x'40404040404040'). If the records don't contain spaces in these positions I don't want to change anything.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum