Parallel - Insert into oracle table

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
alcides
Participant
Posts: 2
Joined: Sun Mar 11, 2007 6:43 pm

Parallel - Insert into oracle table

Post by alcides »

Hi All

I have one job that insere 3 rows into a oracle table. In development this job works very well. In production it execute with sucess but not insere the rows. The log show me only 3 lines like this:
Records inserted: 0
Records used for update: 0
Records rejected: 1
Total records: 1.
Do you have any idea about this problem?
the table's structure and user permissions is the same (production and development)

Tks
Armatos Consultoria em Informática
Alcides Roberto de Matos
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Add a reject link to your oracle write stage and put that into a peek statement, then examine the SQL code to find out why the rows are being rejected.
diogo.cwb
Participant
Posts: 12
Joined: Tue Apr 29, 2008 12:36 pm

Post by diogo.cwb »

up
Diogo de Oliveira Vasconcellos
diogo.cwb@gmail.com
diogo.cwb
Participant
Posts: 12
Joined: Tue Apr 29, 2008 12:36 pm

Post by diogo.cwb »

Only for explain the solution:

in Development the parameter APT_STRING_PADCHAR = 0x00 and in the Production enviroment the parameter APT_STRING_PADCHAR = 0x20. So the Data Stage expects a Null character at the end of string in Production.

thanks for all
Diogo de Oliveira Vasconcellos
diogo.cwb@gmail.com
alcides
Participant
Posts: 2
Joined: Sun Mar 11, 2007 6:43 pm

Re: Parallel - Insert into oracle table

Post by alcides »

Thank you very much!

Thus was possible to see the error (ora-1480) and to find the solution of this problem.

Thanks
Alcides
Armatos Consultoria em Informática
Alcides Roberto de Matos
Post Reply