Corrupt Jobs

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
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Corrupt Jobs

Post by Doc Phil »

I have searched this forum, and couldnt quite find what I was looking for....

Is there a way to check if there are any jobs that are corrupt in a project?

We migrated our jobs from one environment to the next, and only discovered in the middle of a sequence running that a job was corrupt. This obviously caused a lot of last minute frantic sequence creation which could have been avoided if we simply checked before the time.
Anticipation of failure is worse than failure itself
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There are various types of errors, and not all of them can be detected or discovered the same way.

Recompilation usually does a good job of either detecting or eradicating errors.
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Post by Doc Phil »

Thanks Arn. I accept that one cannot cater for all errors.

However, I find it hard to accept that a sequence should abort halfway through because of a corrupt job, when after importing I should have some kind of way to check that my job is corrupt. Oi. It means that someone has to sit and drive a keyboard at absurd hours, as opposed to simply leaving things on a schedule and performing ad-hoc checks.

Last weekend we had to man the keyboard 24/7 for 64 hours in part due to perhaps getting corrupt jobs. And yes, there were corrupt jobs... Trying to eliminate this need in every way possible

Any ideas?
Anticipation of failure is worse than failure itself
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Curious... how did you 'migrate' these jobs? What was the nature of the corruption encountered and how did you... uncorrupt them?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Post by Doc Phil »

hey Craig

We exported the executables to a different project (note: we are not so fortunate, we have a single datastage environment oi).
The technical guys in Manilla indicated that the jobs were corrupt. So we recompiled in the different project re-exported the executables, and imported in the project required, which appears to have done the trick

I am thinking that maybe while we were exporting the executables, someone may have had some jobs open. Its a 24/7 kind of project with resources based on 3 continents, so its highly unlikely that all the jobs would be closed by all datastage developers.
Anticipation of failure is worse than failure itself
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Who ever is responsible for the export should have a generated report that indicates how many exports were unsuccessful. Are you using Version Control for this task?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Post by Doc Phil »

Nopes, its the one thing I spotted which they dont have and seriously need, version control.

I like the idea of having a report indicating that all exports were successful.

:D
Anticipation of failure is worse than failure itself
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You export *just* the executables? :?

How exactly is the extract performed? The Manager client *does* produce a log of all problems encountered, btw.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Post by Doc Phil »

New to the project, and this is the status quo at the moment.

Will be researching at least a chapter a night now that I know where the developer's guide is.

Thanks for the guidance...
Anticipation of failure is worse than failure itself
Doc Phil
Participant
Posts: 15
Joined: Wed Sep 12, 2007 12:45 am
Location: Cape Town

Post by Doc Phil »

Sorry, forgot to answer how the extracts are performed...

We have a project for each environment
So we export from the development project the executables
And import these to the target environment.
Dont need to compile, as long as it is compiled in development
The hit the run button in the target environment and it runs

Anyway, very simple what to do here
- Save a copy of the manager client and assess for any hiccups
- Make this part of the migration of code...

I have marked the topic as resolved.

Thanx once again for all the assistance
Anticipation of failure is worse than failure itself
DKostelnik
Participant
Posts: 34
Joined: Tue Jan 30, 2007 6:13 pm
Location: Central Florida

Post by DKostelnik »

go to the admin tool and execute DS.CHECKER against the specific project.
Doug
AAA Auto Club Group
Listen to:
Porcupine Tree
Nosound
Days Between Stations
Post Reply