How to use JCL date variables in SORT utility. In my case, i want to omit the records which has the week number < current week.
It's not clear from this description exactly what you want. Please show an example of the input records and what you expect for the output records. Explain the "rules" you want to use to get from input to output. Give the starting position, length and format of the relevant fields. Also, state the RECFM and LRECL of the input fle.