getting error in compilation of a job where XML is used sour

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

Post Reply
shaonli
Participant
Posts: 80
Joined: Tue Nov 28, 2006 6:52 am

getting error in compilation of a job where XML is used sour

Post by shaonli »

I am creating a new job with XMl as source.I want to pupulate XMl source in a table.I have used xml stage and I have loaded the metadata with XML metadata importer.When I am compling the job it is giving the error

"Plug in stage does not have the required stream inputs".

I have given the XML file name in the document type tab of document settings of XML_Output stage.
But I am geeting this error.

Please suggest.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Job design? When you put your XML source into a database table, is that flattened or still as XML?

Typical job design would look like:

Folder -> XML Input -> Transformer -> DB

For the former (flattened data).
-craig

"You can never have too many knives" -- Logan Nine Fingers
shaonli
Participant
Posts: 80
Joined: Tue Nov 28, 2006 6:52 am

Post by shaonli »

Is it is in job design.I want to load it into oracle table not in xml format.
Are you talking about folder stage?How should I use that before Xml-Input?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, the Folder Stage - that is the missing 'required input stream' the compiler is complaining about.

Have you read the XML PACK Designer Guide pdf that you have? There is a section there called 'Adding an XML Input Stage to Your Server Job' that might help. You should also find any post by kduke and go to his website from the link in his sig. There is an XML Best Practices document there you can download that is quite educational.
-craig

"You can never have too many knives" -- Logan Nine Fingers
shaonli
Participant
Posts: 80
Joined: Tue Nov 28, 2006 6:52 am

Post by shaonli »

Thanks a lot..
Post Reply