Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.
Moderators: chulett , rschirm , roy
Lotus26
Premium Member
Posts: 48 Joined: Tue Jul 13, 2004 2:09 pm
Post
by Lotus26 » Fri Mar 14, 2008 3:30 pm
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.
Regards
Lotus26
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Fri Mar 14, 2008 5:26 pm
Open Director. Disable Show Categories in the View menu. Sort by Status. Find those Not compiled. They will be in a single group.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208 Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:
Post
by kcbland » Fri Mar 14, 2008 5:49 pm
How are you generating your report? dsjob?
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Mar 14, 2008 6:45 pm
That's the question - and the answer will drive your solution.
-craig
"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Fri Mar 14, 2008 7:39 pm
Another way. Open the Multi Job Compile tool and check the "Select only uncompiled jobs" check box.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Lotus26
Premium Member
Posts: 48 Joined: Tue Jul 13, 2004 2:09 pm
Post
by Lotus26 » Sat Mar 15, 2008 9:40 pm
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?
Regards
Lotus26
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Sat Mar 15, 2008 10:35 pm
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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.