I have a requirement to calculate the difference between two dates using sort.
Input file has the following data
20121201 20121231
Ouput expected
30
Can someone share the sort jcl to calculate the difference between two dates input in the file?