VB script needed for retrieving logs

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
manoj333
Participant
Posts: 1
Joined: Thu Oct 20, 2011 4:48 am

VB script needed for retrieving logs

Post by manoj333 »

Hi Everyone,
I was wondering is there any possibility to automate the manual way of checking logs in Datastage Director. Hence Im now involved in finding out a way.


Wat im trying to do is... To develop some script (either Java or VB) which asks my job name so that it automatically logs in DS director and retrieves the status of Jobs in either XML or notepad etc,..

Please help me guys..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome.

Searching will reveal a ton of questions and information on this topic already here. However... why Java or VB? The API to retrieve any information of that nature is dsjob at the command line and its use has been discussed here many, many times. A 'simple' approach would be to leverage dsjob and its options via batch (or VB or Java) to gather that information. Sounds like you may just need to use -jobstatus.

For a more formal automated approach, search here for discussions of 'ETLStats'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply