SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

sas etl

Reply
Frequent Contributor
Posts: 79

sas etl

HI All,

 

we have been facing the following error message in the log.

The task is : The batch job loading the data into client appliaction by reading the from oracle database. 

 

2017-aug-02 10:09:20 : (19211) ERROR: Backgroud append failed to encode the record data.

 

Like the above message its been repeated every hour of the day. when the batch job running.

 

the batch job processing the data from oracle data base to sas client appliaction. just as a guess is there any issue with the data size is huge then this kind of message appears.?

should we trust the job is loading the data into client application? eve the above Error appears in the log. its really difficult to test the data because the data size is huge ( may be 10 millions records) .

 

Thanks in advance!

PROC Star
Posts: 500

Re: sas etl

[ Edited ]

I am not very sure, But I guess, this is an encoding issue. Encoding setting in sas confiuration defaulted to latin. Whenever you have something  in oracle datset which is not latin you might be seeing this error.

 

do a 

proc options option=encoding;    
run; 

see whether it is latin1 on your location

 

look into this article

http://blogs.sas.com/content/sgf/2014/09/26/encoding-helping-sas-speak-your-language/

 

If possible check data defintion language(DDL) of your oracle table. Check whether it is unicode.

 

There are numerious ways to find whether you non-latin data in your oracle dataset.

Respected Advisor
Posts: 4,566

Re: sas etl

@vallsas

The log message itself indicates that there is an encoding issue as @kiranv_ writes.

 

I've never seen this log message and also can't find anything Googling. The format of the message indicates that this is from a Server log (which one?).

 

Can you tell us a bit more how your SAS job works? And can you please post the relevant section from the job log (or even attach the full log here).

Are there any other errors or warnings before the one you've posted? And is this by any chance a code implemented error message (i.e. followed by an abort statement).

 

should we trust the job is loading the data into client application?

Certainly not without an explanation of what's happening. Production worthy code needs to execute without throwing Error or Warning messages.

Is ghe job loading data right now even with this error message? If so then this error message is highly likely not SAS system generated but coded and you could see in the program code under which condition the error message gets generated.

 

its really difficult to test the data because the data size is huge ( may be 10 millions records) .

Then test on a sub-set, i.e. by using the Proc SQL OUTOBS option (proc sql outobs=1000;)

Ask a Question
Discussion stats
  • 2 replies
  • 163 views
  • 0 likes
  • 3 in conversation