sort to calculate date difference

Sat, 01/21/2012 – 05:24

#1

sort to calculate date difference

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?

Click the +1 button  below to share it with your friends and colleagues

Share this if you liked it!

Disclaimer