Unable to mail a spooled file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pras
Premium Member
Premium Member
Posts: 32
Joined: Mon Nov 28, 2005 8:33 am
Location: Atlanta

Unable to mail a spooled file

Post by pras »

we are using a batch job to spool a excel file and to send the same thru mail

but we are not getting the mail

the error we are getting is

collect: Cannot write ./dfk3S7Cfi22696 (fflush||ferror, uid=0)

but the file is created in the specified path


thanks
Prasanna
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello Prasanna, could you elaborate a bit on what you are doing? To "spool" a file means to print it so your question confuses me a bit. Is this a DataStage batch/Sequence? Which program is generating the error you posted?
pras
Premium Member
Premium Member
Posts: 32
Joined: Mon Nov 28, 2005 8:33 am
Location: Atlanta

Post by pras »

ArndW wrote:Hello Prasanna, could you elaborate a bit on what you are doing? To "spool" a file means to print it so your question confuses me a bit. Is this a DataStage batch/Sequence? Which program is generating the error you posted?
Hi Arn

Yeah it is a Datastage/batch.

we are using a batch job, which will do validation between two tables
and will send the result in a excel as a mail attachment

when we run this job it is running fine and creating the Excel in the specified path, but it is not sending this excel file to us

it is in this place the error comes into the picture.

thanks
Prasanna
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I assume you mean a .csv comma-separated Excel file; since as far as I know DS cannot create excel files.

What call are you using to send the finished file, is it the DSSendMail function call from the sequence and if so, what are the paramters?
Post Reply