Create " file-1, %1"- in which the the value should be picked up from 5th position of input (ABSloute POSition=5). However, what if we don't give the ABSPOS, as we are anyways using "STARTAFT=C'SALE',STARTAFT=C'MGMT',FIXLEN=6)". I tried removing that and get a user abend.
3. Other %n files are just similar.
4. So, we've created 9 intermediate files, in such a way that we get all the amoutn fields at some-fixed-postions; so that we can add them up later,right?
if you left out 5 & 6, it is understandable the item 7 would S0C7.
you are adding to an unsigned area filled with X'40's
Yes, thsi is what I've also anticipated and tried removing the said steps. but, on ther other hand, the original example, using the Job as is, results in S0C7 -- and I'm not able to figure out the what position is not having numeric data.
I'll generate an intermediate file now (using BUILD=(1,3,%01,X'FF',%02,X'FF',%...) and execute verify command on that to see where is non-numeric value...