Skip to Content
0
Former Member
Jan 24, 2014 at 05:22 AM

How to delete/remove Sort criteria/Data statistics information from a Spool

1127 Views

Hello All,

My requirement is to capture the output of a standard program from my custom program and then convert this standard output into PDF document and send an email with this pdf attachment.

Let me brief you the requirement.

Based on the selection screen from my custom program, I am calling a standard program, using SUBMIT statement with SPOOL options to capture the output of that standard transaction. Then I am converting this spool to PDF.

Now I am facing a problem with the first page in the generated PDF file (even in spool as well). It is having the Sort criteria and Data statistics information in the first page, which I really dont want.

Could someone please help me how to achieve this pdf conversion/spool generation without the sort and data statistics information.

Thanks in advance.

Regards,
Naresh