I m having one sequential file with following field.
BI511-DIST-CENTER-NAME
BI511-STATE-NAME
BI511-EXT-CVS-COST
BI511-EXT-CIG-SALES
BI511-EXT-ALC-SALES
BI511-EXT-TOB-SALES
BI511-EXT-GROSS-SALES
BI511-MONTH
BI511-YEAR
I need a one step jcl to do following jobs.
1. Sort the file with field of BI511-DIST-CENTER-NAME(alphanumeric and length is 20) and BI511-STATE-NAME (alphanumeric and length is 20)
2. Sum on following field …
BI511-EXT-CVS-COST
BI511-EXT-CIG-SALES
BI511-EXT-ALC-SALES
BI511-EXT-TOB-SALES
BI511-EXT-GROSS-SALES
Note: all the above fields are alphanumeric with length of 18 where first character as Sign (+ or -), next 13 characters are numeric, next is ‘.’ And rest 3 characters are again numeric.
3. Replace BI511-MONTH (alphanumeric and length is 2) field with spaces.
Thanks...