Hi volks,
how can I get the current date in the format dd.mm.jjjj in a INREC sort statement?
At the following statements I've tried to get the date starting at column 94:
94:DATE1(.), --> 2014.02.10 (wrong placements)
94:DATE=(DMY.), --> 10.02.14 (but the year ist only 2 digits long - it must be 4 digits.
It would be helpful if I can extract those parts from the current date, too:
dd
mm
yyyy
So I can put it with a c'.' together
Have anybody an idea how I can solve the problem without doing 2 sort steps?
Thank you for your help!
Kind regards
Sascha