About DSUTILITY

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

vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

About DSUTILITY

Post by vijaykumar »

Hi Gurus,
Is there any utility which runs from my operating system and is used to export all the jobs which i created and are present in the repository.
plz Gurus help me, i created some jobs, my team lead wants me to export those jobs using operating system utility.plz help me.

cheers;
vijay
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

You can do that through DataStage Manager. You can export the Job to a particular location in the form of .dsx or .xml file.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
My requirement is different, i want a operating system command, my operating system is windows.
i have designed 3 jobs, i want to export all the jobs, is there any operating system utility. plz help me.

cheers;
vijay
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
As utility ds-report projectname jobname which helps in generating report, similarly is there any utility which helps me in exporting all the jobs which i created .plz Gurus help me.

cheers;
vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

You can use dscmdexport

Search for related posts.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Check this particular post, Anand has given a script :

viewtopic.php?t=98137&postdays=0&postor ... t&start=15
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
Thanks Very much.
i used DSExport USERNAME PASSWORD PROJECTNAME JOBNAME PATHNAME.
when i run this command , its successfuly exporting, its exporting the entire project not a individual job.
Its not taking jobname into consideration.
even with the pathname i have a problem.
i created a folder in c-directory inorder to export all the jobs into that directory but individually.
i specified DSExport USERNAME PASSWORD PROJECTNAME job1 c:/hash
job1 is the jobname
hash is the foldername which i created inorder to dump the exported jobs.
Its just working.
i altered and i gave DSExport USERNAME PASSWORD PROJECTNAME job1 job.
Now its working, it simply created a .dsx file, the name of the file is job1 job.
Plz help me why is it ignoring pathname and jobname which i specified, instead it is dumping entire project.
plz help me Gurus, am i going in wrong way.

cheers;
vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Vijay,

I thought you had corrected your cases while posting! :roll:
Please make your posts more readable.
Use Proper case. I know you are in a hurry, but don't strain others, who have to read your post :P
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Until now, always hurts my eyes :( to read your unformatted, case-ingnorant posts.

You are making it difficult for yourself and others by not posting in the right format. :x
Please make sure that you break your post into decent paragraphs and ALSO use the right case at the right time.

Again, FYI;
When you are referring to yourself, you should be using 'I' always, instead of 'i'.

HTH,
Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi,
I used DSExport USERNAME PASSWORD PROJECTNAME job1 c:/hash
Where job1 = name of the job
hash is foldername which i created inorder to dump the exported jobs.
Its just working.
It simply created a .dsx file, (ie) job1 job.dsx
Plz help me why is it ignoring pathname and jobname which i specified, instead it is dumping entire project. Plz help me Gurus.
Sorry i didn't use the correct format.

cheers;
vijay
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

Use the same code which is mentioned in another post

Code: Select all

C:\Progra~1\Ascential\DataStage7.5\DSExport.exe /U=Username /P=Password /H=HostName /JOB=YOUR JOBNAME ProjectName C:\hash\a.dsx
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:lol: If DSUTILITY is a DataStage utility, what is the generic term for a file utility?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Is that a quiz question?
The answer is FUTILITY (notice the answer in caps) :wink:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Oh please, don't encourage him. :roll:
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Just having a little fun :cry:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply