I have a file RECFM=VBA LRECL=4100 BLKSIZE=4104 in which I want to 'drop' records with a certain date. The date is in YYDDD julian date format starting in position 17 for 3 bytes. In the example below, the date would be 11152F (06/01/11) for RECORD1 and 11171F (06/20/11) for RECORD2.

I want to 'drop' any records for julian date 11171 and write all the other records to MY.OUTPUT.FILE

I have tried several combinations for my INCLUDE statement (PD0, BI and Y2U). Also tried using a starting position of 21 because the first data byte of a variable length record has a relative position of 5. None of these attempts has worked.

I have a file RECFM=VBA LRECL=4100 BLKSIZE=4104 in which I want to 'drop' records with a certain date. The date is in YYDDD julian date format starting in position 17 for 3 bytes. In the example below, the date would be 11152F (06/01/11) for RECORD1 and 11171F (06/20/11) for RECORD2.