Well, you now need a second WHEN=GROUP.
BEGIN= for you LFILE=, RECORDS=2 and PUSH=(89:16,44)
Then IFTHEN=(WHEN=(test for AFILE),BUILD=(using the data from 81,8 89,44 and 15 for lenth of however long that may be.
There's been a spec-change I see. Have a look at PARSE to get the actual file-name from the full file-name. You may want to look at JFY/SQZ.
Then the OUTFIL OMIT/INCLUDE you should be able to handle.