Hi,
I need to include field names from a file that I'm adding Query output to so, when I use CPYTOIMPF and then SNDSMTPEMM to send the file as an attachment in an email, it opens in Excel with column headings.
I've tried a few things like:
I need to include field names from a file that I'm adding Query output to so, when I use CPYTOIMPF and then SNDSMTPEMM to send the file as an attachment in an email, it opens in Excel with column headings.
I've tried a few things like:
- Creating a header record that I add to the stream file before the data - failed.
- Someone said use Alias names in the file dds - failed
Comment