John,
Likely your issue is because you don't have FORMAT BCP specified. Your file does not appear to have a delimiter after the last column. When you use DELIMITED BY and ROW DELIMITED BY the default is to expect a column delimiter after every column, even the last. This is known as FORMAT ASCII (the default). Changing to FORMAT BCP then tells IQ that the column delimiter will exist on all columns EXCEPT the last one.
Keep in mind, too, that using the DATETIME() feature means that that column must ALWAYS be that wide. You cannot have an empty string that represents a NULL. In reality, though, you don't need to specify the DATETIME() function as your format is one of the default formats for IQ.
Here is a sample:
set temporary option escape_character='on';
set temporary option quoted_identifier='on';
set temporary option date_format='ymd'; -- forces the date order to be YMD for loading
LOAD TABLE transaction
( customer_id, merchant_id, txtimestamp, txamount, txcurr)
FROM '/iq/demo/1.csv'
FORMAT BCP
ESCAPES OFF
DELIMITED BY ','
ROW DELIMITED BY '\n';
I ran this on my Linux machine and loaded the data without issue.
Mark