BookmarkSubscribeRSS Feed
Son_Of_Krypton
Fluorite | Level 6

Hi All,

 

I am trying to insert data into oracle table but when i use bulkload option in append the data with special character is being replaced by [] or ?.

 

Son_Of_Krypton_0-1651141768566.png

The first result in above screenshot is appending without bulkload option and second one using bulkload option

 

proc append base = CTARGET.CLIENT    (BULKLOAD           = YES
                                         BL_USE_SQLLDR      = YES
                                         BL_DIRECT_PATH     = YES
                                         BL_LOAD_METHOD     = TRUNCATE
                                         BL_CONTROL         = "&cntpth.&fle..cnt"
                                         BL_LOG             = "&pth1."
                                         BL_DATAFILE        = "&pth2."
                                         BL_DELETE_DATAFILE = YES)
               data = CLIENT1 force;
   run;

And if i use only proc append without bulkload option as below then data is loading correctly.

proc append base=CTARGET.CLIENT new=CLIENT1 force;
run;

Can anyone help me here if i need to add any other option in bulkload so the special character can be displayed correctly

 

1 REPLY 1
AMSAS
SAS Super FREQ

I took a look at the SAS Technical Support tracking database, there are several tracks with similar issues which appears to be related to character sets.

I recommend you open a TS track for this question.

Please include the following:
- SAS Version you are running (the following code will report SAS version information)
%put &sysvlong ;
%put &sysscpl ;
%put &syssite ;
- Registry Report (*.txt files) for each server, please clearly name the report files to reflect the server it was executed on.
- Oracle version

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 691 views
  • 0 likes
  • 2 in conversation