istool: help with import error

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
sam paul
Premium Member
Premium Member
Posts: 19
Joined: Mon Jan 26, 2009 1:31 pm
Location: Minneapolis, USA

istool: help with import error

Post by sam paul »

One of my teammate has imported a wrong version of code to my project. But before that luckily, my export command ran which created a backup *.isx file.

I am using the following command to import the isx file.

cd <cli path>
./istool import -dom xx:xx -u xxx -p xx -ar <Path>/SG_backup.isx -replace -ds ' "<servername>/<Projectname>/Jobs/*/*.*" ' > ~/ds.log

But i am getting the following error.

[139/139] <servername>/<Projectname>/Jobs/Jobname.sjb failed
Incorrect target


Can someone point out what is wrong i am doing.

Cheers!!!
Datastage Developer cum ETL designer.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Let's get you into your own post rather than piling on the end of one from 2009... done.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sam paul
Premium Member
Premium Member
Posts: 19
Joined: Mon Jan 26, 2009 1:31 pm
Location: Minneapolis, USA

Post by sam paul »

Yeah chulett.. I too thought so,, so i have created my own post. Can you point out as what wrong i have done.
Datastage Developer cum ETL designer.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Try cutting off the -ds option sooner and without double quotes... This works for me. There is a -verbose option you may choose to use too.

Code: Select all

-ds '<servername>/<Projectname>'
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

sam paul wrote:Yeah chulett.. I too thought so,, so i have created my own post. Can you point out as what wrong i have done.
That's just it, you didn't create your own post but replied to the old one you found. Next time please use Post new topic to start a new discussion.

Use Reply to topic to add to the current discussion.
-craig

"You can never have too many knives" -- Logan Nine Fingers
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

I don't have access to the server :(
But if I'm not mistaken you issue an archive command and not an import command !
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply