compare date and month seperately

IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

compare date and month seperately

Postby smritisonkar » Wed Oct 15, 2014 7:14 pm

how do i compare the current month and current year to 2 values in a sort utility
i want to compare 2 digits number with the month of the current date and the 4 digit number with the year of the current date using sort utility.
and i have to omit conditions in which the 2 are not equal
Posts: 1
Joined: Wed Oct 15, 2014 7:11 pm
Has thanked: 0 time
Been thanked: 0 time

Re: compare date and month seperately

Postby NicC » Thu Oct 16, 2014 2:01 am

Please post in the correct section! There is a section for DFsort and one for Syncsort. Which product do you use? I am moving this to DFsort but will move it to Syncsort if that is the product that you use.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times



  • Related topics
    Last post