Rip. : Export from cmd prompt

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Rip. : Export from cmd prompt

Post by admin »

There is a tool called dscmdexport which will do it.
IIRC, it appeared in DS v5.

Here is an example shell (we are on W2000 with cygwin):
--------------------------------------------------------
#!/bin/sh
# Script dexport des jobs Datastage
date >> /cygdrive/d/Ardent/Exports/dsexport.log
echo "DEBUT "`date` >> /cygdrive/d/Ardent/Exports/dsexport.log

export EXP="/cygdrive/c/Program Files/Ardent/Datastage/dscmdexport.exe"


export PROJ="Tests";
"$EXP" /H=moustic /O=1 $PROJ D:/Ardent/Exports/$PROJ`date +%Y%m%d`.dsx

gzip D:/Ardent/Exports/$PROJ`date +%Y%m%d`.dsx

echo " FIN "`date` >> /cygdrive/d/Ardent/Exports/dsexport.log
--------------------------------------------------------

Erwan

>>> mail2rock2003@yahoo.com 07/10/2003 10:44:48 >>>
Hi Evereone in List,

Is there any way I can export all the datastage jobs from the Unix
Datastage Server using some command prompt command?

Any suggession is appreciated.

Thanks & Regards
Rockey



---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Locked