Let's say that I have a "Year" column in a file. And I would like to bring in the new file, only the records in which the YEAR is greater than the "current year". How to recover the current year?
The command DATE1
returns the complete date: yyyymmdd
.
I only need: yyyy
.
Example:
INCLUDE COND=(1107,04,CH,GE,YYYY) ** VIGENCIA >= ANO ATUAL