Page 1 of 1

Passing XML Filename as a parameter

Posted: Thu Mar 23, 2006 8:53 am
by chowdary
People,

I have a job which reads data from XML file and dunp into a Oracle Table,
Is there any way that i can parametize the XML file name?

Posted: Thu Mar 23, 2006 9:24 am
by chulett
How are you 'reading' it? That stage should support parameters - the Folder stage does for example.

Posted: Thu Mar 23, 2006 9:42 am
by chowdary
I am reading using the Folder Stage, Where i can parametrize the filename in the folder stage, i know we can parametrize the path name of the files but i don't know how to parametrize the file name.
please help me in this one.

Thanks
Chowdary
chulett wrote:How are you 'reading' it? That stage should support parameters - the Folder stage does for example.

Posted: Thu Mar 23, 2006 9:49 am
by chulett
Outputs / Properties / Wildcard. That controls what file(s) are read. If you don't use a wildcard pattern there but use a 'normal' filename it will just read that file in. You can use a parameter there in either case.

Posted: Thu Mar 23, 2006 10:28 am
by chowdary
Thank you very much, It's working.

chulett wrote:Outputs / Properties / Wildcard. That controls what file(s) are read. If you don't use a wildcard pattern there but use a 'normal' filename it will just read that file in. You can use a parameter there in either case.