DATA Step, Macro, Functions and more

While extracting a table from Netezza database escaspechar error

Accepted Solution Solved
Reply
Highlighted
Contributor
Posts: 35
Accepted Solution

While extracting a table from Netezza database escaspechar error

While creating new dataset.

data a;
set prd_dl.dl_customer_account(keep=cust_acct_key acct_nbr prms_key eff_end_day_key eff_start_day_key frst_nm lst_nm);
where eff_end_day_key=73049;
run;

Following error is displaying.

 

ERROR: Error terminating Netezza load: ERROR: found delim '|' in a data field, specify escapeChar '\' option in the external table
definition.

 

Any help is greatly appreciated.


Accepted Solutions
Solution
‎08-22-2017 12:15 PM
Contributor
Posts: 35

Re: While extracting a table from Netezza database escaspechar error

We tried to use BULKUNLOAD=YES BL_DELIMITER=009 and it worked.

 

data a;

set prd_dl.dl_customer_account(keep=cust_acct_key acct_nbr prms_key  eff_end_day_key eff_start_day_key frst_nm lst_nm BULKUNLOAD=YES bl_delimiter=009);

where eff_end_day_key=73049;

run;

View solution in original post


All Replies
Solution
‎08-22-2017 12:15 PM
Contributor
Posts: 35

Re: While extracting a table from Netezza database escaspechar error

We tried to use BULKUNLOAD=YES BL_DELIMITER=009 and it worked.

 

data a;

set prd_dl.dl_customer_account(keep=cust_acct_key acct_nbr prms_key  eff_end_day_key eff_start_day_key frst_nm lst_nm BULKUNLOAD=YES bl_delimiter=009);

where eff_end_day_key=73049;

run;

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 284 views
  • 0 likes
  • 1 in conversation