Page 1 of 1

how can i import & export through command prompt

Posted: Thu Jan 03, 2008 2:37 am
by 4friends
hi,
please provide the commands for import and export

Posted: Thu Jan 03, 2008 3:13 am
by aakashahuja
use dsjob with the -import option.

Posted: Thu Jan 03, 2008 3:36 am
by ray.wurlod
A Search of the forum would have found the dscmdexport and dsexport commands.

Posted: Thu Jan 03, 2008 3:49 am
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

Posted: Thu Jan 03, 2008 3:57 am
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!).

Posted: Thu Jan 03, 2008 4:05 am
by ArndW
Actually, those two commands aren't on the server but on your client PC.

Posted: Thu Jan 03, 2008 4:10 am
by ray.wurlod
:!:
I was editing the post when Arnd posted that!