Page 1 of 1

Re: Need Help in RCP jobs

Posted: Tue Oct 13, 2015 12:57 am
by naveenkumar.ssn
Hi,

You can find in the metadata definition a property called "Extended" try giving Unicode over there and check whether its working or not.

Regards
Naveen

Posted: Tue Oct 13, 2015 2:54 am
by ShaneMuir
How much RCP are you using?

Are your columns surfaced anywhere? Or are the columns in question not specified throughout the entire job? Do you land the data to any temporary files? Are you using schemas to apply any metadata?

If they are not specified anywhere, then it is likely that any "unexpected results" are being caused by the metadata interpretation at either the source or target, any landed files, or via schemas. All these need to be checked.
Have you checked that your target can accept those characters? (ie just write a query to insert a test value).

Re: Need Help in RCP jobs

Posted: Tue Oct 13, 2015 9:33 am
by Surya1Sharma
Hi Naveen,
I donot have metadata defined in the job at all. The job does select * from Source. It's fully RCP so don't have any column in the metadata else I would have done that.

Thanks,
Surya

Posted: Tue Oct 13, 2015 9:35 am
by Surya1Sharma
Shane - No the job does not have any column or metadata defined rather its fully RCP. Yes I have checked and Target can accept the multi byte characters.

Posted: Wed Oct 14, 2015 9:28 am
by ShaneMuir
Looks like its time to debug.

Set your $OSH_PRINT_SCHEMA to print the schemas when the job executes. You can then have a look at what the job is interpreting as your metadata.

You could also add a peek stage at some points in your job to see where the data is changing/outputting incorrectly.

Posted: Thu Oct 15, 2015 9:57 am
by Surya1Sharma
Hi,
I got it working, In the job while trying for various options, I provided the value for environmental variable NLS_LANG=AMERICAN_AMERICA.UTF8, it worked for me.

Thanks,
Surya