How to import datastage job

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
suneel Pocha
Participant
Posts: 3
Joined: Thu Jun 14, 2007 3:19 am

How to import datastage job

Post by suneel Pocha »

Hi All,

I Import datastage jobs.But i want old job.I don't have backup.
So Please tell me how to retrive old jobs.

thanks in advancde

regards,
Sunil
Hi
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

Hi Sunil ,

Without a backup of your old job then I think you're out of luck. Importing a job (or any other object, for that matter) into the repository replaces identically named objects irreversibly.

Are you sure you definitely don't have a DSX somewhere that contains the prior job definition?

Do you have a backup of the entire project? (If not, I suggest you implement a backup strategy immediately!) If you do, you could perform a restore from that, however you'd obviously loose all changes made since that repository backup was taken.

J.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's not irreversible, but does require expert help. Involve your support provider.

Most of what has to be done may be found in my paper onrecovering after deleting a DataStage project
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

Thanks for that Ray - That's news to me!

So if I (or the OP) have a project containing version 1 of a job and I then import into the same project a version 2 of this job (with the same name) then there's still scope for recovering the original version from somewhere within the repository (i.e. without having a backup DSX)?

That certainly changes my view of how the repository works, or am I misunderstanding your response?

Thanks again,
JMcK.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, it's much harder at the individual component (object) level. To do that, you'd need to restore your backup elsewhere (with more things to fix, such as the index headers using SET.INDEX) then export from the restored project before you could import into your current project.

Like I said, it's doable but it requires expertise.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In other words, all recovery comes from a backup. How you use that backup is what Ray is writing about.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply