DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
cdp



Group memberships:
Premium Members

Joined: 15 Dec 2009
Posts: 73
Location: New Zealand
Points: 955

Post Posted: Thu Apr 26, 2012 7:46 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Windows
Additional info: version 8.5.0.2
What is the correct syntax to import Fasttrack assets into a different Fasttrack project?

According to IBM documentation and tech notes on this topic, they indicate that the following syntax for the import process needs to be used:

Code:
import -u admin -p admin100 -dom EVEREST -ar ft_archive1.isx -fasttrack '-dsNamespace=EVEREST/DSProject'


But putting in my own parameters returns the error "ERROR: Unknown option: -fasttrack"

Tech note #1446771 indicates that the -ft command, instead of -fasttrack, option needs to be used but I get the same error: 'Unknown option: -ft'

Any idea where I might be going wrong with this?
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 1255
Location: USA Kentucky
Points: 8955

Post Posted: Thu Apr 26, 2012 8:19 pm Reply with quote    Back to top    

I ran into that same error before also. In my case I was trying to use istool on the server and found out that for fasttrack, you have to run istool from the client tier (it's in the Admin Guide; it just didn't jump out at me).

You might also try adding :9080 (or your port number) on the domain option after your server name.

After the -ft or -fasttrack option, I used two single quotes '' as an empty string.

_________________
 
Eric
_________________

I do want to express myself, okay. And I don't need 37 pieces of flair to do it.
Rate this response:  
Not yet rated
arvind_ds
Participant



Joined: 16 Aug 2007
Posts: 360
Location: Manali
Points: 2803

Post Posted: Fri Apr 27, 2012 3:46 am Reply with quote    Back to top    

Run the istool utility on the client side only as far as FastTrack is concerned.Use the below link for more information.

http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r5/topic/com.ibm.swg.im.iis.ft.assetint.doc/topics/importcommand.html

_________________
Arvind
Rate this response:  
Not yet rated
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 1255
Location: USA Kentucky
Points: 8955

Post Posted: Fri Apr 27, 2012 8:07 am Reply with quote    Back to top    

Please try the variations I suggested above as well as leaving out the = sign according to the syntax given rather than the example from the doc. I'm curious what you will find out. When I got it to work it was by using '' only at the end, as in the 2nd example from the docs. I had also added the -v or -verbose option as well (FYI).

_________________
 
Eric
_________________

I do want to express myself, okay. And I don't need 37 pieces of flair to do it.
Rate this response:  
Not yet rated
cdp



Group memberships:
Premium Members

Joined: 15 Dec 2009
Posts: 73
Location: New Zealand
Points: 955

Post Posted: Sun Apr 29, 2012 5:41 pm Reply with quote    Back to top    

Thanks for the recommendations. I've managed to re-import the assets into the existing project by running the following command on the Client machine:

Code:
import -u username -p password -dom server:port -ar filename.isx -fasttrack '-dsNamespace=server/project'


But even though I specified a new project name at the end, the import process still tried to overwrite the existing project’s assets (specifications) where the assets have been exported from.

Is there a way to import assets into a new (empty) project?
Rate this response:  
Not yet rated
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 1255
Location: USA Kentucky
Points: 8955

Post Posted: Tue May 01, 2012 9:32 pm Reply with quote    Back to top    

Replace the -ft options of '-dsNamespace=server/project' with '-onNameConflict rename' then you will end up with a new FT project with "_New" appended on the end of the project name. Open it up in FT and go to the project properties. From there you can rename the project to any name you want. I don't know of any other way, but then again I've not used istool with -ft options except for a few times here and there as already outlined above.

_________________
 
Eric
_________________

I do want to express myself, okay. And I don't need 37 pieces of flair to do it.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours