Import server routine using command line

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
AngelMady
Participant
Posts: 16
Joined: Fri Feb 23, 2007 6:25 pm
Location: Romania

Import server routine using command line

Post by AngelMady »

Hy,

I exported a server routine into a dsx file and I put in on a Unix server.Now I want to import it into an other project using a command line.

Is it possible to do this?

O:-)There can be only one>:)
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

With dsimport , you can import a dsx file to the server. Search for dsimport in the forum or in help , on how to use it.
AngelMady
Participant
Posts: 16
Joined: Fri Feb 23, 2007 6:25 pm
Location: Romania

Post by AngelMady »

I tried
dsjob -import project DsxFileName
and I'm getting the error:

No job found to import

So... :(
O:-)There can be only one>:)
Pierre
Participant
Posts: 66
Joined: Thu May 24, 2007 7:16 am
Location: Paris

Post by Pierre »

try 'dsimport project DsxFileName'
dsimport is an exe file.
Pierre
Participant
Posts: 66
Joined: Thu May 24, 2007 7:16 am
Location: Paris

Post by Pierre »

try 'dsimport project DsxFileName'
dsimport is an exe file.
AngelMady
Participant
Posts: 16
Joined: Fri Feb 23, 2007 6:25 pm
Location: Romania

Post by AngelMady »

Under Unix I can not execute dsimport.exe
O:-)There can be only one>:)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

They said 'to the server' not 'from the server'. That's because dsimport.exe is a client command and you would run it from your PC. The server only imports jobs, AFAIK.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply