regarding importing jobs from datastage manager

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

regarding importing jobs from datastage manager

Post by vijaykumar »

Hi Gurus,
my team mate has exported some of the jobs in xml format.
i need to import these jobs. These jobs are in XML FORMAT.
he exported the jobs as zipfile. i unzipped, extracted all the jobs which are in XML format into new folder which i created.
i went to manager and tried to import the jobs using datastage manager.
i did import---->Datastage components(xml)---> i specified the path.
i checked-import only selected components.
when i try to import iam getting error-
ERROR LOADING FILE,LINE 0, SOURCE=''
REASON=THE FOLLOWING TAGS ARE NOT CLOSED, DS EXPORT,JOB ,RECORD,COLLECTION, SUBRECORD.is there something i have to do so that i can import or tell my mate to export the jobs again.

plz help me Gurus.

cheers;
vijay
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

If I were you, I would ask them to resend, rather than break my head with the error.
If the successive exports had the same problem, then would start looking into resolving it.
Or you can wait for somebody here, who has resolved such an issue.
Its your call.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

There is this POST. But, I guess it deviates from the issue here.

Like Narasimha suggested, I would say, request for a resend. If that doesn't work, then get back.

Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
i tried to export another job, i exported successfully, where can i view the exported job. i mean where is the exported job stored which folder.
beacuse once i can view this exported job,i want to view this job in my designer. plz help me gurus.

cheers;
vijay
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Vijay, You need to tell us where have you stored the Export?. When you do an export it will ask for a location where it should get stored.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Can you work on framing your questions? That would be appreciated.
vijaykumar wrote:Hi Gurus,
where is the exported job stored which folder.

vijay
In the path you mention(In the text field "Export to File"), when you export it. The job you exported will always be available in your repository. The job does not vanish once you export it.

Whale.
Last edited by I_Server_Whale on Sat Jan 06, 2007 1:43 am, edited 1 time in total.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
iam sorry, i used the word export instead of import.

i imported these jobs. These jobs are in XML FORMAT.
these jobs are stored in zipfile. i unzipped, extracted all the jobs which are in XML format into new folder which i created.
i went to manager and tried to import the jobs using datastage manager.
i did import---->Datastage components(xml)---> i specified the path.
i checked-import only selected components.
now i successfully imported the jobs.
when i try to import it just asks the path where i want to import from.
where are these jobs which are imported stored.
i want to call these jobs which i imported into my designer component.
plz help me gurus and sorry for that i used the word export instead of import.

plz help me gurus.

cheers;
vijay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... you've successfully imported them but can't find them? That's not all that unusual as the Import doesn't show you the Category, you have to know it. And if you don't know, ask whomever you got the export from. We sure can't tell you.

Or try this from the Administrator:

Code: Select all

SELECT CATEGORY FROM DS_JOBS WHERE NAME = 'JobName';
-craig

"You can never have too many knives" -- Logan Nine Fingers
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Path will be your xml export file in your new folder(which was created by you when you unzipped the extract). When you do the import, you jobs will be available in the designer.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

Post by vijaykumar »

Hi Gurus,
i tried to import these jobs,after loading all the components, iam getting message
import from c\documents\temp header.dsx

name type status
p_header job-design not present.

i clicked ok. but iam not able to view the job which i imported in my repository.plz gurus help me, i want to call this job in my designer so that i can analyze the design.plz help me.

cheers;
vijay
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

When DataStage compoents are exported, the person performing the export specifies the pathname of the export file (whether DSX or XML format). That is where it (the export file from which you need to import) is stored.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Saama
Premium Member
Premium Member
Posts: 83
Joined: Wed Nov 22, 2006 6:42 pm
Location: Pune
Contact:

Post by Saama »

hi gurus,
can't we view in designer the job which they created.one of my friend said that as we import the job it is stored in saperate category in the designer and thereby i can view the job which i imported.
is this is not possible in datastage to view the job in designer, i mean cant i view in designer.

cheers;
vijay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

vijaykumar wrote:i checked-import only selected components.
now i successfully imported the jobs.
My answer was based on your assertion that you 'successfully imported the jobs'. [sigh] You really do make it difficult to help you at times, you know.
-craig

"You can never have too many knives" -- Logan Nine Fingers
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Saama wrote:one of my friend said that as we import the job it is stored in saperate category in the designer and thereby i can view the job which i imported.
No, They won't go into a seperate category. They will go into the category in which they were originally in.

Also, If you had the designer open during the import, you won't see the imported jobs unless you refresh your repository view.

Also, last but not least, but certainly with an intention to help you, you refer to yourself as "i" instead you should be using "I".

"I", when referring to oneself cannot be in lower case "i".

Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:lol: Maybe "i" isn't very tall?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply