cancel
Showing results for 
Search instead for 
Did you mean: 

getting an error: processing a fields statement at "enclose"'

Former Member
0 Kudos

when i run this in script editor: import from '/dropbox/sidthekid/orders.ctl';

get the following error : processing a fields statement at "enclose"'

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

it worked thanks you can close this thread

Former Member
0 Kudos

Hi Sudarshan,

Can you please copy-paste the content of your ctl file here?

Thanks,

Anooj

Former Member
0 Kudos

import data

into table P1385644140. "ORDERS"

from 'ORDERS.csv'

record delimited by '\n'

fields delimited by ','

optionally enclosed by ""

error log 'orders.err'

Actually the first error was because it was enclose instead of enclosed. After I corrected this is the error: general error: Error processing a fields statement at """"

UPDATE: added single quotes: optionally enclosed by ' "" '