I need to check following condition on each record in a mainframe flat file and write only records which satisfies this condition. Can anyone let me know the sort card for achieving this?
Date1 (in CCYY-MM-DD format) - system date (in CCYY-MM-DD format) <= field2 (days).
1. What is the LRECL and RECFM of the input file?
2. What is the Position of the Date field?
3. What is the position and format of Filed2 which has the days?
4. Last but not least run the following job and show me the complete sysout which helps us determine the level of DFSORT you have.