Hi all
I met a problem when using DFSORT for 'sum fields', here is the my sample before.
File A includes the following records:
Line
Record 1: 23
Record 2: 456
Record 3: 1234
The file record length is 4 bytes(fill in space if the number not occupy all 4 bytes), i want to sum up all above records, then output to another file.
I use following syntax below first, but abend S0C7,
Method 1:
sum fields=(1,4,ZD)
then I tried following method, but the result seems not correct
Method 2:
sum fields=(1,4,BI)