Export by command line

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
mjgmc
Participant
Posts: 52
Joined: Thu Nov 25, 2004 8:06 am

Export by command line

Post by mjgmc »

Hello,

In our project we created a shell that imports our dsx files, but we need to create an automatic system to backup the jobs we want to import before, so is it possible to make an export by command line?
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Export by command line

Post by sachin1 »

i have never used it in unix system,

you can check for help in manager guide pdf, dscmdexport command can help

dscmdexport /H hostname /U username /P password /O omitflag project
pathname /V

or may be searching in forum can help.
mjgmc
Participant
Posts: 52
Joined: Thu Nov 25, 2004 8:06 am

Post by mjgmc »

Thanks
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

dscmdexport is a utility which comes with the "Client". So you can't run it on the "Unix server". You'll have to write to write a script which runs it on your client machine. Ken has a beautiful script which backs up all the projects on a server.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Minhajuddin wrote:dscmdexport is a utility which comes with the "Client". So you can't run it on the "Unix server". You'll have to write to write a script which runs it on your client machine. Ken has a beautiful script which backs up all the projects on a server.
Can you please provide the link for the same.. :)

Thanks in Advance!
http://findingjobsindatastage.blogspot.com/
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works. and nobody knows why! (Albert Einstein)
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

Actually these scripts are by Uncle Kim, was a typo.
Here is the link where you can find a lot of other useful stuff.

http://www.duke-consulting.com/DataStage_Tips.htm

Click on this link to download the backup scripts
http://www.duke-consulting.com/Downloads/Scripts.zip
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
Post Reply