BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Yarlanil59
Obsidian | Level 7

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Yarlanil59
Obsidian | Level 7

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

1 REPLY 1
Yarlanil59
Obsidian | Level 7

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;

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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