Export repository to DSX with job history

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Maik
Participant
Posts: 3
Joined: Mon Sep 18, 2006 9:58 am
Location: Utrecht

Export repository to DSX with job history

Post by Maik »

I need to review the DataStage environment of a colleague of mine.

He has send me a DSX-export of his repository and I can import it without a problem. However when I look into Director I see al jobs have the Status 'Compiled' and de job history is blank (and I really need to see the run history).

My question is can an export (to dsx or xml) with the job run history be done and how do I import it?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Hello Maik and welcome to DSXchange.

The job log history is not available for export and re-import in another project. There are routines which will let you read the log entries and you can put them into some table or file; but there is no (documented) method of loading log entries.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome! :D

The short answer is 'no' as that history you are looking for is stored in individual hashed files, one per job, and not in the repository used to create a .dsx file.

Your colleague would need to specifically dump whatever information you need, but there's no built-in mechanism to load it back anywhere in DataStage. If it's not a large number of jobs, you can do Ray's favorite trick (and what Support would ask for): a 'Print to File' version of the job logs in Detail format.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Maik
Participant
Posts: 3
Joined: Mon Sep 18, 2006 9:58 am
Location: Utrecht

Post by Maik »

I was expecting this answer, to bad. :(

Unfortunately there are to many jobs to do a 'print to file' for each job so I will need look into to ways on exporting the job logs to a flat file or something.

Thanks for your response.
Maik
Participant
Posts: 3
Joined: Mon Sep 18, 2006 9:58 am
Location: Utrecht

Post by Maik »

I was expecting this answer, to bad. :(

Unfortunately there are to many jobs to do a 'print to file' for each job so I will need look into to ways on exporting the job logs to a flat file or something.

Thanks for your response.
Post Reply