Page 1 of 1

unable to create XML document

Posted: Mon Jun 05, 2006 12:49 am
by sudhakar_viswa
Hi,

I am creating XML document from a sequential file.In datastage it is showing the job is executed successfully.But,the document is not created.can anybody help me.

Thanks,
sudhakar

Posted: Mon Jun 05, 2006 1:31 am
by ray.wurlod
How do you know the document has not been created? How are you attempting to create it, and where? Are you using a default style sheet, one created by importing metadata, or a custom style sheet? What stage type(s) are you using?

Some XML documents (such as during compilation of a job sequence, or reporting from Designer) are created on the client.

Posted: Mon Jun 05, 2006 1:52 am
by sudhakar_viswa
Hi ray,

I did not select any options.I just specified the path,where it has to be stored.And i have run the job.I did not find the xml file in specified path.

Thanks,
sudhakar

Posted: Mon Jun 05, 2006 6:38 am
by chulett
What stages? Did you import the XML's metadata so you are using the proper XPath expressions? :?

Posted: Mon Jun 05, 2006 8:05 am
by sudhakar_viswa
Hi chulett,

i did not specify any XPath.i have taken one sequential file and one transformer and one XMLOutpu.And then i just drag the columns in transformer.I specified the path where this xml has to be created.What else i need to do.

Thanks,
sudhakar

Posted: Mon Jun 05, 2006 10:44 am
by lstsaur
Sudhakar,
Please read the chapter 4, Using XML Output, of the XMLPACK_20_Designer.pdf. Then you will understand what XPATH expression should be coded on the columns of the output tab of the XML Output stage to create the XML document.

Posted: Mon Jun 05, 2006 11:19 pm
by sudhakar_viswa
Hi,

I searched for XMLPACK_20_Designer.pdf but i could not found the XMLPACK_20_Designer.pdf,So, From where can i get the XMLPACK_20_Designer.pdf file.

Thanks,
sudhakar

Posted: Tue Jun 06, 2006 12:05 am
by ray.wurlod
Normally it installs into C:\Program Files\Ascential\DataStage\Docs (or the Docs folder wherever you installed your DataStage client). If you ordered XML PACK separately, then it will be on the media on which that software was delivered.