How to find jobs using shared container?
Moderators: chulett, rschirm, roy
How to find jobs using shared container?
Hi,
We are using a shared container in our project, which is used by several jobs and one of the feed to the container is a constant value (per job).
Is there a mechanism (using DS job) to find the jobs using the particular container and the value passed by the jobs?
My thoughts were with querying the UNIVERSE tables but due to lack of IBM documentation - couldn't get much further than a couple of fields on DS_JOBS & DS_JOBOBJECTS.
Any help would be hugely appreciable.
Thanks,
Bikram
We are using a shared container in our project, which is used by several jobs and one of the feed to the container is a constant value (per job).
Is there a mechanism (using DS job) to find the jobs using the particular container and the value passed by the jobs?
My thoughts were with querying the UNIVERSE tables but due to lack of IBM documentation - couldn't get much further than a couple of fields on DS_JOBS & DS_JOBOBJECTS.
Any help would be hugely appreciable.
Thanks,
Bikram
1)Select the container from repository and right click select find where used
2)if u want to find the list of the job names and folder where a particular stage or object is used follow this link
http://datastage-vamsi.blogspot.in/2012 ... s-and.html
2)if u want to find the list of the job names and folder where a particular stage or object is used follow this link
http://datastage-vamsi.blogspot.in/2012 ... s-and.html
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Job names are stored in DS_JOBS.
Job design time configuration is stored in DS_JOBOBJECTS.
Job run time configuration is stored in RT_CONFIGnnn where nnn is the job number from DS_JOBS.
Job and stage run time information is stored in RT_STATUSnnn.
Job log information is stored in RT_LOGnnn if local logging is selected.
What, precisely, is the information you seek? That is, what do you mean by "the value passed" by a job?
Job design time configuration is stored in DS_JOBOBJECTS.
Job run time configuration is stored in RT_CONFIGnnn where nnn is the job number from DS_JOBS.
Job and stage run time information is stored in RT_STATUSnnn.
Job log information is stored in RT_LOGnnn if local logging is selected.
What, precisely, is the information you seek? That is, what do you mean by "the value passed" by a job?
Last edited by ray.wurlod on Thu Dec 13, 2012 8:51 pm, edited 1 time in total.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need to identify (by OLETYPE) the Shared Container (view) records in DS_JOBOBJECTS. In those records the input link and output link references can be found, and you can self-join using the OBJIDNO column. To get the job name join to DS_JOBS based on DS_JOBS.JOBNO = DS_JOBOBJECTS.OBJIDNO.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Alas the structures of these tables are only partially documented. A few of us have hacked some of the structure, but definitely not completely. Do you have a colleague with UniVerse (or, at a pinch, UniData) experience? They will stand a better chance of hacking the structures. There's a lot of UV and UD in New Zealand.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
For partial documentation, in a dssh environment:
For discoveries, rummage around the results of a search here for DS_JOBOBJECTS.
Code: Select all
LIST DICT DS_JOBS
LIST DICT DS_JOBOBJECTS
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.
Thanks Ray!
I have now managed to pull most of the details I wanted from DS_OBJECTS alone. I can identify the link name etc. But unsure as to where to find the value fed into the particular link!
I tried the RT structures but couldn't run them in the UV stage and the LIST DICT doesn't show any other columns than the @ID.
Any idea!
I have now managed to pull most of the details I wanted from DS_OBJECTS alone. I can identify the link name etc. But unsure as to where to find the value fed into the particular link!
I tried the RT structures but couldn't run them in the UV stage and the LIST DICT doesn't show any other columns than the @ID.
Any idea!
-
- 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:
Further, there are records with different formats.
You can nominate the first ten fields as F1, F2, ..., F10.
Beyond that you need to have a bit more knowledge if the structure.
You can view entire records using the LIST.ITEM command, but this shows only the data in populated fields - you don't get any metadata.
That's where a UniVerse person with knowledge of the UniVerse line editors ED or AE can help somewhat.
You can nominate the first ten fields as F1, F2, ..., F10.
Beyond that you need to have a bit more knowledge if the structure.
You can view entire records using the LIST.ITEM command, but this shows only the data in populated fields - you don't get any metadata.
That's where a UniVerse person with knowledge of the UniVerse line editors ED or AE can help somewhat.
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.