Generating a mail after loading 10% of data into target

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsuser7
Participant
Posts: 41
Joined: Sat Nov 29, 2008 2:21 am

Generating a mail after loading 10% of data into target

Post by dsuser7 »

Hi,

After loading 10% of data into the target table, can a mail be generated reporting the same while the DataStage parallel job is being running (either through DataStage or through Unix script).
Is there such a possibility in DataStage/unix scripting/through routines?

Any help/suggestions are highly appreciated.

Thanks,
DSUser7.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If the source is a sequential file, you can have DataStage report statistics to the log file, then write a job or script to examine the log file looking for the percentage figures.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If the source is a sequential file, you can have DataStage report statistics to the log file, then write a job or script to examine the log file looking for the percentage figures.
dsuser7
Participant
Posts: 41
Joined: Sat Nov 29, 2008 2:21 am

Post by dsuser7 »

ArndW wrote:If the source is a sequential file, you can have DataStage report statistics to the log file, then write a job or script to examine the log file looking for the percentage figures. ...

Yes, the source is sequential file. Is a log file created for every job by default or do we have to explicitly set any property to make DataStage report statistics to the log file?

Thank you
dsuser7
Participant
Posts: 41
Joined: Sat Nov 29, 2008 2:21 am

Post by dsuser7 »

ArndW wrote:If the source is a sequential file, you can have DataStage report statistics to the log file, then write a job or script to examine the log file looking for the percentage figures. ...
Yes, the source is sequential file. Is a log file created for every job by default or do we have to explicitly set any property to make DataStage report statistics to the log file?

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

Post by ArndW »

It is an attribute in the Sequential file stage when you are reading, something like "Display progress" in the options.
Post Reply