sort to calculate date difference

1 post / 0 new
Anonymous (not verified)
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?

Sponsored Listing

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

 

Share this if you liked it!

 

Disclaimer

Navigation