Hi Sharon,
The REPORTCV option will create the report in CSV format. A link to the doc and an example are below.
https://docops.ca.com/ca-workload-automation-esp-edition/11-4/en/reference/commands/reportcv-command-begin-report-definition-csv-format
REPORTCV
INPUT DATASET('CYB1.TONYT540.HISTFILE')
CRITERIA JOBNAME EQ WAIT5 OR JOBNAME EQ CALC
FROM MAY 1 2004
DISPLAY JOBNAME,JOBNO,APPLSYS,OVDSUBAT,OVDBEGAT,OVDENDAT,OVDEND
SORT EXECSDATE EXECST JOBNAME
ENDR
To remove the headers I add a step after the report step. It runs a very simple piece of REXX that removes the unwanted lines. Let me know if this is an option for you. I can attach the JCL and REXX here.
2cents
Don