how can i import & export through command prompt

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
4friends
Participant
Posts: 71
Joined: Tue May 01, 2007 12:51 pm
Location: Mumbai

how can i import & export through command prompt

Post by 4friends »

hi,
please provide the commands for import and export
thanks & regards
kk
aakashahuja
Premium Member
Premium Member
Posts: 210
Joined: Wed Feb 16, 2005 7:17 am

Post by aakashahuja »

use dsjob with the -import option.
L'arrêt essayant d'être parfait… évoluons.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A Search of the forum would have found the dscmdexport and dsexport commands.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
4friends
Participant
Posts: 71
Joined: Tue May 01, 2007 12:51 pm
Location: Mumbai

Post by 4friends »

ray.wurlod wrote:A Search of the forum would have found the dscmdexport and dsexport commands. ...
.
where can i use this command to import or export jobs?
Please give me the path to use this command
thanks & regards
kk
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

For dsjob:

Code: Select all

$DSHOME/bin
or, if you don't have DSHOME set,

Code: Select all

`cat /.dshome`/bin
For dscmdexport and dsexport:

Code: Select all

C:\Program Files\Ascential\DataStage
(or wherever else you installed the DataStage client. This answer is for versions 7.5 and earlier; I am not certain where the version 8 client installs by default (but fairly certain "Ascential" has been replaced with "IBM" in the pathname!).
Last edited by ray.wurlod on Thu Jan 03, 2008 4:09 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Actually, those two commands aren't on the server but on your client PC.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:!:
I was editing the post when Arnd posted that!
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