Ok, so I took out the include on the stylesheets and added &ECHO = ALL to my code and still get an error. It is set up to send the report as an attachment. Here is my modified code and the error I am getting from RC. I did notice that somehow it is adding a 'SET DISTRIBUTE = OFF' after my code is done.
-SET &ECHO = 'ALL';
SET COMPOUND = OPEN
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END
SET COMPOUND = CLOSE
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
END
BTP1020 Executing focexec.
BTP1020 No report to create.
BTP1020 SET COMPOUND = OPEN
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 SET COMPOUND = CLOSE
BTP1020 TABLE FILE CAR
BTP1020 PRINT
BTP1020 CAR.ORIGIN.COUNTRY
BTP1020 CAR.COMP.CAR
BTP1020 CAR.CARREC.MODEL
BTP1020 ON TABLE SET PAGE-NUM NOLEAD
BTP1020 ON TABLE NOTOTAL
BTP1020 ON TABLE PCHOLD FORMAT PDF
BTP1020 END
BTP1020 SET DISTRIBUTE=OFF
BTP1020 0 PDF FILE SAVED ...
BTP1020 Connection to the Reporting Server EDASERVE closed at 2014-03-13 08:12:14.864-0500 (1,394,716,334,864)
BTP1020 Job ran on the Reporting Server EDASERVE for 0.067 seconds
BTP1020 Task finished.
BTP1010 No report to distribute.
Webfocus 8.005,
Windows 7, IE8