Page 1 of 1

Not compiled Status

Posted: Fri Mar 14, 2008 3:30 pm
by Lotus26
Hi

I am trying to generate a report for all my datastage jobs . But in case some of the jobs were not compiled then it is giving an error message .


ERROR: Failed to open job

How to capture the status of those jobs , so that I can avoid to check those jobs from my report.

Thanks in advance.

Posted: Fri Mar 14, 2008 5:26 pm
by ray.wurlod
Open Director. Disable Show Categories in the View menu. Sort by Status. Find those Not compiled. They will be in a single group.

Posted: Fri Mar 14, 2008 5:49 pm
by kcbland
How are you generating your report? dsjob?

Posted: Fri Mar 14, 2008 6:45 pm
by chulett
That's the question - and the answer will drive your solution.

Posted: Fri Mar 14, 2008 7:39 pm
by ray.wurlod
Another way. Open the Multi Job Compile tool and check the "Select only uncompiled jobs" check box.

Posted: Sat Mar 15, 2008 9:40 pm
by Lotus26
Hi

Thanks for all your responses .

But I want to find out the status through command line and I want to avoid the uncompiled jobs by capturing the status of the uncompiled jobs also through command line .

So can you help me how can I achieve this?

Posted: Sat Mar 15, 2008 10:35 pm
by ray.wurlod
I don't believe it can be done, other than invoking DataStage/SQL from the command line. You don't want to go there - it involves querying a separate status table for every job.