Removing Header and Trailer record of a EBCDIC file

I have a EBCDIC multi layout file which has a header record which is 21 bytes, The Detail records are 2427 bytes long and the trailer record is 9 bytes long.

Is there a command to remove the header as well as trailer record and read only the detail records while at the same time not altering the file itself..something at runtime

A quick concoction based on a fleeting idea (untested):

dd if=file conv=ascii | sed '1d;$d' | dd conv=ebcdic