Passing XML Filename as a parameter

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
chowdary
Participant
Posts: 38
Joined: Thu Jun 23, 2005 11:25 am

Passing XML Filename as a parameter

Post 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?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

How are you 'reading' it? That stage should support parameters - the Folder stage does for example.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chowdary
Participant
Posts: 38
Joined: Thu Jun 23, 2005 11:25 am

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chowdary
Participant
Posts: 38
Joined: Thu Jun 23, 2005 11:25 am

Post 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.
Post Reply