dsjob error

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

Post Reply
deepak.hsbc
Participant
Posts: 39
Joined: Sun Apr 15, 2007 11:30 pm

dsjob error

Post by deepak.hsbc »

I am using dsjob CLI to get the job report but it throws an error for all un-compiled jobs as -

ERROR: Failed to open job

Status code = -1004

Is there any way to hide this msg and skip uncompiled jobs while creating a report.
"Books are as useful to a stupid person as a mirror is useful to a Blind person."
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

No, not directly. You would need to filter these entries out manually. Perhaps modify your script to get a list of jobs, then loop through each one and drop jobs that generate the -1004 error from the output.
Post Reply