Check Existence of file

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Check Existence of file

Post by dr.murthy »

How to check the Existence of file in sequence jobs,'

if file exist then sequencer should run other wise ends successfully
D.N .MURTHY
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

Create a shell script to check the existence of the file. Call that script in your job sequence using execute command stage. Use triggers accordingly to take further action. HTH
Arvind
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Post by dr.murthy »

I used Wait for activity stage to check existence of file, its working fine.


Thanks for respond.
D.N .MURTHY
Post Reply