Any way to identify jobs that don't have design information?

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
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Any way to identify jobs that don't have design information?

Post by kandyshandy »

Sometimes a job loses it's design information. I am really not sure how this happens but it does. Is there a(ny) way to identify jobs that don't have design information?

One way that comes to my mind is to compile the jobs and look at the error message to find such odd ones. But this is time consuming when we want to check the odd ones among 2000+.
Kandy
_________________
Try and Try again…You will succeed atlast!!
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

should only happen when export executables only. You would have to look in DS_JOBOBJECTS to what is there. If ROOT record is missing we could probably give you some SQL to run.
Mamu Kim
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

No luck Kim.

Initially, i was happy with your clue and tried queries against DS_JOBS and DS_JOBOBJECTS. After analysis, realized that some of the other jobs that have design information are not having ROOT record in DS_JOBOBJECTS.

I am still trying.. Do let me know if you get any idea.. Thank you.
Kandy
_________________
Try and Try again…You will succeed atlast!!
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

can you check xmeta if stage information is not present in the DSSTAGESXXXX or something like that but it exist in DSJOBSXXXXX. You should be able to join these tables on RIDs.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

:wink:

Access to XMETA is restricted.
Kandy
_________________
Try and Try again…You will succeed atlast!!
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

You should always have a ROOT record with a design. You have corrupted DS_JOBOBJECTS it sounds like to me.
Mamu Kim
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Sounds the same to me. There has been incorrect practice in this place for quite few years already. :(

Anyways, thank you. In general, how the corrupted universe is repaired?
Kandy
_________________
Try and Try again…You will succeed atlast!!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Depends how it's been corrupted, of course. You might begin by reindexing the local repository database (which is done on a project-by-project basis).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply