IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Doubt in LOADing a Data into a table having referential con?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pkmurali
Warnings : 1

Active User


Joined: 15 Dec 2005
Posts: 271

PostPosted: Fri Aug 06, 2010 3:12 pm
Reply with quote

Folks,

I have one doubt in loading data into a table using LOAD command. Assume i am having table-A(parent table) table-B(child table) both are having referential integrity. Is it possible to load a data into child table(table-b) where the primary key column value is not in synch with table-a foreign-key references? Normal insert statement will fail if the above scenario is used. What happens when load job is executed?

Thanks,
Murali.
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Fri Aug 06, 2010 3:25 pm
Reply with quote

The load job would put the tablespace into check pending status.
refer This
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top