Previous month in header

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

Re: Previous month in header

Postby BillyBoyo » Wed May 14, 2014 9:25 pm

The way I would do it is to generate two symbols for your dates, then use those. Requires two steps (the first being tiny), which you don't seem keen on.

Another way would be to include your dates on at least the first record that is presented to OUTFIL, and then pick up the information from there.

You cannot do it with DATE or a combination that I know of to reformat without all elements of the date (day, month, two- or four-digit year). You cannot just magically get it to do the previous month.
Global moderator
Posts: 3738
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 255 times

Re: Re: Previous month in header





  • Related topics
    Last post