Page 1 of 2

Import routine from dsx file

Posted: Thu May 07, 2009 5:06 am
by maschiliro
Hi, who can help me on a problem I never had on previous release of data stage?
I've developed 3 routines and I saved them in a new folder PRJ inside Routines category. I Exported them in a dsx file (I tried with all options: source, object, both...). When I try to import them from this dsx file to a differente Repository I have a message like:
3 objects ignored.... :?

Thanks, Mary

Posted: Thu May 07, 2009 6:41 am
by Sainath.Srinivasan
Read only ?

Posted: Thu May 07, 2009 10:01 am
by maschiliro
Sainath.Srinivasan wrote:Read only ?
I have tried the export with flag on and off but the result is not changed.
Thanks for the collaboration.

Posted: Thu May 07, 2009 10:54 am
by mfavero
Are the routines marked read-only in the project you export from?

Do they already exist in the project you are importing to and are they read-only there?

inspect the dsx file and search for ROUTINE - are there other routines in the dsx besides the 3 you want?

Posted: Thu May 07, 2009 11:38 am
by maschiliro
mfavero wrote:Are the routines marked read-only in the project you export from?

How I can know if a routine is marked read-only?


Do they already exist in the project you are importing to and are they read-only there?

No. They not exist in in the project I am importing to.


inspect the dsx file and search for ROUTINE - are there other routines in the dsx besides the 3 you want?

No. There are only these 3 routines.


Thanks for the collaboration.

Posted: Thu May 07, 2009 12:25 pm
by mfavero
You can see if a routine is read-only by double clicking on it in designer and at the top of the window it will show (Read-Only)

Also all the buttons are grey except Close and Help, so you cannot save or compile it.

If your routines are not read-only then it must be something in the new projects -maybe you are not set up as a developer in the Suite admin or the directory/file permissions for the project are goofy.

Have the dsadm try the import.

Posted: Thu May 07, 2009 12:26 pm
by mfavero
You can see if a routine is read-only by double clicking on it in designer and at the top of the window it will show (Read-Only)

Also all the buttons are grey except Close and Help, so you cannot save or compile it.

If your routines are not read-only then it must be something in the new projects -maybe you are not set up as a developer in the Suite admin or the directory/file permissions for the project are goofy.

Have the dsadm try the import.

Posted: Thu May 07, 2009 1:13 pm
by maschiliro
mfavero wrote:You can see if a routine is read-only by double clicking on it in designer and at the top of the window it will show (Read-Only)

Also all the buttons are grey except Close and Help, so you cannot save or compile it.

If your routines are not read-only then it must be something in the new projects -maybe you are not set up as a developer in the Suite admin or the directory/file permissions for the project are goofy.

Have the dsadm try the import.
My routines are not read only (I can save and compile them).
I am dsadm when I try to import them.
I'll Check directory/file permissions ...

Any other suggestion?

Thanks

Posted: Thu May 07, 2009 2:31 pm
by asorrell
Are you trying to load into a "protected" project?

Posted: Thu May 07, 2009 2:43 pm
by chulett
I've seen the same behaviour on a 7.5.1A server where it would sometimes just refuse to import routines if that was all that was in the export file. I don't remember if there was a resolution or not, I think what I ended up having to do was include at least one job in the mix. It definitely smelled of bug to me. :?

Posted: Fri May 08, 2009 4:40 am
by Sainath.Srinivasan
In that case, you can append a job to the export and do a "import selected".

Posted: Fri May 08, 2009 7:20 am
by chulett
You can try that, but I think I had to actually import everything, job and all, to get the routines to come along for the ride. It's been awhile, so who knows. Let us know, if anything, works for you.

Posted: Fri May 08, 2009 2:52 pm
by pandujoy
i guess the dsx file is read only...

open the dsx file in a notepad and look for ReadOnly = '1'..if u see this replace it with Readonly'0'....n u will be good to go... :)

Posted: Fri May 08, 2009 3:30 pm
by chulett
Guess again.

Importing Routines Datastage 8.1

Posted: Fri Aug 07, 2009 9:42 am
by campbellj2
chulett wrote:Guess again.
I am having the same problem with Datastage 8.1 on Windows 2003. No routines will import in either DSX or XML format. IBM states that this is a known bug listed as APAR JR31756. The link with the details are under http://www-01.ibm.com/support/docview.w ... wg1JR31756
The notes say that there is a patch listed for this problem as patch # JR31326 which I cannot find in FixCentral. I am still waiting for a response from IBM.