Skip first n records and last n records in a file

Skip first n records and last n records in a file I have to skip first N records and last N records in a file, can any one suggest a way  using SYNCSORT to do this. Actually my file has first 5 records as header and last 5 records are trailer records which are not required in the ouput file. I could fine a command SKIPREC which would skip a certain number of records from top,but I am not sure as to how can I skip  “; ; ; ;