Can We Recover deleted job

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
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Can We Recover deleted job

Post by via »

Hi All,
If we accidently delete a job from the datastage repository in designer, Can we recover that deleted job? Where(exact path) will be the deleted jobs get stored? I guess deleted files and jobs will be in a specific folder on the datastage server!
Can any one clarify this!
Thanks..
Via
-------------------------------------
Learn all the way, as you Grow each Second
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, they are not stored in anything like a 'Recycle Bin' where you can simply click 'Undelete' and get it back. They are gone. You would need to recover it from your backups... you are backing things up, yes?
-craig

"You can never have too many knives" -- Logan Nine Fingers
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Yes Craig, we are backing up.But i am guessing is there any folder on server where deleted jobs will be stored..

Thanks.
Via
-------------------------------------
Learn all the way, as you Grow each Second
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

No such thing. Recover the job from backup.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Job designs are rows in a table. Delete a job = delete rows. There's no "undelete", as the design information is physically removed.
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
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Thanks all.
But as Kcbland said job designs are rows in table.If we delete a row from a table, the activity will be logged.So is it the same as if we delete job, its logged? If so, where can we check those logs?

Thanks..
Via
-------------------------------------
Learn all the way, as you Grow each Second
mctny
Charter Member
Charter Member
Posts: 166
Joined: Thu Feb 02, 2006 6:55 am

Post by mctny »

via wrote:Thanks all.
...the activity will be logged. ......
..
No the activity is not logged. As the Gurus said, the only option you had is to bring the job from the backup (or the second option would be to recreate the job )
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Thank you all. I got it.
Via
-------------------------------------
Learn all the way, as you Grow each Second
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The fact that a delete was performed is logged in the DS_AUDIT table. But nothing else is logged and none of the deleted information is saved out there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Thanks Craig for clarification..What are the columns in DS_AUDIT table?May be: user who deleted, deleted jobname, time of deletion like those info..is that right....

Thanks
Via
-------------------------------------
Learn all the way, as you Grow each Second
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

From your Administrator client Command window:

Code: Select all

LIST.DICT DS_AUDIT
to learn the column names.

Code: Select all

SELECT CLASS, INSTANCE, PREVDTD, PREVDELETOR FROM DS_AUDIT WHERE PREVDTD > '';
to identify what was deleted when and by whom. Constrain on CLASS = '2' to limit the report to jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply