Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Basically, I am trying to use "comment fieldlist using mapname" syntax
I am using the following script to comment multiple fields using mapping table. But this is not working. Please help:
CommentTable:
MAPPING LOAD * INLINE [
Comment, Desc
CountryCode, This is test1
Code, This is test2
];
Comment field CountryCode using CountryNamesMap;
Data:
LOAD * INLINE [
CountryCode
ES
UK
US
];
Data:
LOAD * INLINE [
Code
ES
UK
US
];
I know we can do this using comment field CountryCode with "This is test1". But I am trying to do this with mapping table.
Is it possible to use a set of fields to pick its respective comments from a mapping table.
Thanks
not sure what exactly you are trying to do,
have you looked at the examples here?
Hi Karthick,
Try the following:
MAPPING LOAD * INLINE [
Comment, Desc
CountryCode, This is test1
Code, This is test2
];
Data:
LOAD * INLINE [
CountryCode
ES
UK
US
];
Data:
LOAD * INLINE [
Code
ES
UK
US
];
Comment fields using CommentTable;
I attach a sample.
Regards,
H