Page 1 of 1

Invoking DS jobs real-time

Posted: Wed Apr 16, 2008 8:04 am
by mydsworld
I have a requirement where Datastage job needs to get fired whenever some files are generated in a remote system.The job needs to process those files as well.Please suggest the mechanism to do such polling & invoking DataStage job real-time.

Thanks

Posted: Wed Apr 16, 2008 8:08 am
by chulett
Remote system triggers job, dsjob or API. UNIX script polls for files and launches job. Looping Sequence job with Wait For File or scripted poll. All kinds of ways.

Posted: Wed Apr 16, 2008 8:12 am
by mydsworld
For the remote system to trigger a DS job I think it requires to have some kind of remote shell invokation permission to run 'dsjob' command.

Posted: Wed Apr 16, 2008 9:11 am
by chulett
You'd need a user you could ssh to on the DataStage server, yes. Or something equivalent.

Posted: Wed Apr 16, 2008 10:22 am
by mydsworld
Is there any other way of invoking a remote event based DataStage job

Posted: Wed Apr 16, 2008 12:28 pm
by mydsworld
whats the best way of creating kind of 'always running' datastage job.I am using v8,is there any advanced feature to handle this.

Posted: Wed Apr 16, 2008 12:32 pm
by mydsworld
whats the best way of creating kind of 'always running' datastage job.I am using v8,is there any advanced feature to handle this.

Posted: Wed Apr 16, 2008 12:56 pm
by kumar_s
Use quality Stage.
Create a job to listen always to particular port, and process the incoming file to that port.

Posted: Wed Apr 16, 2008 12:56 pm
by chulett
WISD... formerly RTI, formerly SOA... you can expose a job as a web service.