Hi,
Using a unix script Iam trying to capture logs of job/sequences and storing them to oracle table.
I have a sequence "A", which has jobs "a" and "b".
"a" is multiple instance job with around 10 instances. And in this particular sequence I am running only 1 particular instance of it(say 'a.one')
I have to store logs of both sequence and also jobs involved in it. I am able to get the job names of the sequence. Here since "a" is multi instance, the log to be captured is "a.one" only.
How do I get the name of instance Id("one") used in this particular sequence?
Thanks,
ssunda.
Getting invocation Id details from the job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not from dsjob (apart from reading the log). There is a C language API (dscapi) that is effectively the same as the BASIC API (dsapi) - you can use the functions in that. This is the API that dsjob uses.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.