Istool import doesn't like .dsx exported through client

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
poornimasai
Participant
Posts: 6
Joined: Mon Aug 02, 2010 2:38 pm

Istool import doesn't like .dsx exported through client

Post by poornimasai »

I am trying to import a few .dsx files. But these files were exported through the designer client. And when I try doing the istool import, they fail with the following error:

srvr1:/opt/IBM/InformationServer/v812/Clients/istools/cli>istool import -domain dom1:9080 -username usr1 password pass1 -archive /Archive/arch1.dsx -replace -datastage srvr1/prj1 <
Beginning import
Import failed: Error opening archive file /Archive/arch1.dsx


Then I exported the same jobs through the istool export command and then tried the import, it went fine.

What am I doing wrong with exporting through the client?
:(
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The istool utility can only export and import files of its own making, i.e. from the command line and they would have their own extension. Exports from the client would need to be imported using the same mechanism (the client) and would have a .dsx extension.

Now, technically the istool produces .dsx format files under the covers but compressed, but my point still stands. Use the same tool to import that you exported with.
-craig

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