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
bunu1977
Participant
Posts: 35 Joined: Thu Oct 16, 2003 4:46 am
Post
by bunu1977 » Fri Jan 27, 2006 5:33 pm
Hi,
I am creating a xml file in unix.By default datastage is generating a file as
<tag1>
value
</tag1>
But as per the requirement, the tags should appear as <tag1>value</tag1>
Can I do it in datastage or I need to use the sed command in unix to replace the carriage return values after creating the file?
can any one tell me what is the exact command for this in unix?
Dilip Das
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Jan 27, 2006 6:57 pm
Uncheck the 'Generate Formatted Output' option.
-craig
"You can never have too many knives" -- Logan Nine Fingers
bunu1977
Participant
Posts: 35 Joined: Thu Oct 16, 2003 4:46 am
Post
by bunu1977 » Fri Jan 27, 2006 9:21 pm
I ll try it on Monday and let you know.
chulett wrote: Uncheck the 'Generate Formatted Output' option.
Dilip Das
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Jan 27, 2006 10:04 pm
We'll be here!
-craig
"You can never have too many knives" -- Logan Nine Fingers
bunu1977
Participant
Posts: 35 Joined: Thu Oct 16, 2003 4:46 am
Post
by bunu1977 » Mon Jan 30, 2006 9:40 am
Hi,
Thanks. It is replacing the carraige return characters now.
chulett wrote: We'll be here!
Dilip Das