Don’t use tep2. Use DSNTIAUL with the SQL parameter. No header rows will be created.
just select * from table
a little clarification… TEP2 is not SPUFI in batch. TEP2 is an entirely different program. SPUFI is only used via ISPF. DSNTEP2 is a sample program supplied with DB2 that we all rely on. But it is not SPUFI.