Page 2 of 2

Posted: Tue Dec 29, 2009 1:16 am
by gssr
chulett wrote:Do you understand what that first slash means? I suspect not.

cd to $DSHOME/bin and then issue your ./dsexport from there. There are no .exe files on UNIX so do not incl ...
I tried the steps,

Code: Select all

1. cd to $DSHOME/bin
2. /dsexport /H=dstest /U=tuser /P=dstest /JOB=Testjob1 ETL_TEST /home/tuser/job.dsx 
I got the same message,
ksh: /dsexport: not found.
Did i miss anything?

Posted: Tue Dec 29, 2009 4:38 am
by ray.wurlod
Yes.

You missed learning anything about how operating systems work during your IT career to date. Neither UNIX nor Windows would cope with your syntax.

The pathname of the executable must be either a fully qualified pathname, or a pathname relative to the current attach point (current working directory). The current working directory may be represented as ".".

Therefore a relative pathname of dsexport, if you're in its parent bin directory, would be ./dsexport. Notice the leading dot?

Posted: Tue Dec 29, 2009 5:39 am
by gssr

Code: Select all

All exports from the DataStage repository are performed on the Windows workstation. There is
no server-side project export facility.

Posted: Tue Dec 29, 2009 6:27 am
by chulett
:lol: I was wondering when we would get around to that little fact. Everyone got so caught up in the UNIX syntax issues from the original suggestions (and all the struggles there) that the fact that they were Windows client commands was never mentioned.

There is limited server-side import functionality via dsjob in your version. Later versions flesh out the server-side export and import functionality.

Posted: Tue Dec 29, 2009 7:49 am
by gssr
We learned that one !!!!

Thanks for your thoughts,