Yes, there are tricks, but none of them carry different Cobol compilers and different OS versions.
If you want to do this in a clean, fully portable Cobol style, read the entire file, buffering three records at a time, and write each record when it falls from the buffer. When you hit the end of the file, just stop writing buffered entries and you will omit the last three.
Some pseudo-cobbles may look like this:
Perform Fill-Buffer
Perform until End-Of-File
Perform Write-Buffer
Perform Fill-Buffer
End-Perform
.
Write-Buffer.
Write OUTPUT-FILE
from The-Buffer (TOP-OF-BUFFER)
End-Write
.
Fill-Buffer.
* Do reads to fill a 3 position ring buffer
* and adjust TOP-OF-BUFFER to the current record...
.
, , SORT. Cobol.