on 04-28-2006 11:30 AM
Hi All,
In my scenario, I need to convert a multiple line record (text format) to a single recordset (XML format).
My outbound structure follows
Header
|
-- Data1
-- Data2
Input file:
Fir
st second
-
Output Expected:
<header>
<Data>First second<\Data>
<\header>
But when I tried I got the error "Set the param lastfield optional". The problem is whenever it encounters a new line it assumes that's the end of the record. But my input record comes in multiple lines.
How do I solve it?
Thanks,
Ajay.
did u specify any endsepereature?
try using enclosuresign option to skip nl withing fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitesh,
But will I get the output as I expected??... I've already tried that and that's not what I expected..
Thanks,
Ajay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
just give
recordstructurename.lastFieldsOptional YES
this might solve ur problem
regards
jithesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.