Page 1 of 1

Datastage Job logs for Today's/Yesterday's run

Posted: Mon Nov 06, 2017 6:23 am
by Apy
How I can get logs (Status alone will also work) for datastage jobs ran today/yesterday. Please note that jobs are running with invocation Id (Multiple instance jobs).

Posted: Mon Nov 06, 2017 2:38 pm
by ray.wurlod
The easiest way is to use DataStage Director client, which includes a Print option (and, from that, a Print to File option). Director can open separate invocations' logs separately.

If you want to use a programmatic approach, then you will need to organize the filtering by date and by invocation ID. But it's certainly doable.

Posted: Mon Nov 06, 2017 11:59 pm
by Apy
But Datastage Director client will also give the jobs which didn't ran today.
Basically I want to create a report in customized format and automate this process.
We can do this using dsjob command with -linvocations but this gives all invocation ids irrespective of date. I am just interested for a particular date not all.

Posted: Tue Nov 07, 2017 11:23 am
by PaulVL
What information are you obtaining from the log?
Perhaps the DSODB database can be your source of info.

Posted: Wed Nov 08, 2017 12:01 am
by Apy
As of now, I am interested in Job Start time, End time and Job status.
Please elaborate how I can access DSODB database to get this information. If possible, in detail please.

Posted: Wed Nov 08, 2017 3:33 am
by skathaitrooney
For DSODB connection information, give your DataStage admins a visit

How to use DSODB:
https://www.ibm.com/support/knowledgece ... ryodb.html