xml records drop while loading into oracle target 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
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

xml records drop while loading into oracle target table

Post by DSRajesh »

Dear Experts,

rejected Records are dropping while loading into reject table. but same datastage job is able to load in dev /test environment with same structure of Rejecetd table.

Please help me in resolving this.
RD
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

any one to help please
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Learn patience. You waited less than an hour, and on a weekend. Would your official support provider have responded in under an hour on a weekend?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Never mind the fact that there is an extreme lack of detail here so not sure how anyone could help straight away. Are you getting errors / warnings in your log that you can post? Can you describe your job design? Any other information you can provide that may help people help you would be appreciated.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

there are no warnings or errors in the log.

But reject link is showing the records and not inserting the records.

Reeject table properties:

upsert mode : user defined update only

write method: upsert
RD
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Looking farward for help!
RD
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

More information, please. For example, what exactly is your "user defined update" sql? From what I recall, there should also be a final entry logged for the target stage in question here with details on records written, etc - can you post that as well?
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Update SQL Query:

INSERT INTO TB_REJECT (FILE_NAME, TABLE_NAME, SOURCE, ROW_NUM, RECORD, ERROR_DESC, DATA_DATETIME, CREATED_DATETIME, MODIFIED_DATETIME, CREATED_BY, MODIFIED_BY) VALUES (ORCHESTRATE.FILE_NAME, ORCHESTRATE.TABLE_NAME, ORCHESTRATE.SOURCE, ORCHESTRATE.ROW_NUM, ORCHESTRATE.RECORD, ORCHESTRATE.ERROR_DESC, ORCHESTRATE.DATA_DATETIME, ORCHESTRATE.CREATED_DATETIME, ORCHESTRATE.MODIFIED_DATETIME, ORCHESTRATE.CREATED_BY, ORCHESTRATE.MODIFIED_BY)
RD
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

the only the update sql query is using along with other two properties for write method and upsert mode
RD
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Right, got that... what about the other piece of information I asked about? Were you able to locate that?
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

below are the log information for rejected records:

orc_TB_REJECT_ins,1: Records inserted: 0
Records used for update: 0
Records rejected: 1
Total records: 1.

orc_TB_REJECT_ins,2: Records inserted: 0
Records used for update: 0
Records rejected: 0
Total records: 0.

orc_TB_REJECT_ins,3: Records inserted: 0
Records used for update: 0
Records rejected: 0
Total records: 0.

orc_TB_REJECT_ins,0: Records inserted: 0
Records used for update: 0
Records rejected: 0
Total records: 0.


it is showing 1 record is rejectedin the log,but in the reject table ,that record is not rejected/inserted in the recject table.

please help me here to trouble shoot this
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please show us your job design. In particular, does the Oracle stage have a reject-handling link (painted with long dashes)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply