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

Columns not matching while loading


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Tue Jul 28, 2009 2:57 pm
Reply with quote

Hi,
I have a table with 4 which recently updated the table with 5 columns..now I need to test the table...I unloaded the table data(which contains only 4 columns information) from production..if I try to load the data in development table(which is modified with 5 columns) with that file will the job be successful...?

Asked me in interview question...
Thanks
ajay
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 28, 2009 3:07 pm
Reply with quote

The idea of interview questions is that you answer them and the forum members help you if you have problems.

Please give us your answer.
Back to top
View user's profile Send private message
bhairon singh rathore

New User


Joined: 19 Jun 2008
Posts: 91
Location: banglore

PostPosted: Thu Jul 30, 2009 11:59 am
Reply with quote

A whole lot of things depends for you to answer this question
1) Is new column in DEV is nullabe field
2) How is your insert query used ..

Please specify all this condition
Back to top
View user's profile Send private message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Mon Aug 03, 2009 12:29 pm
Reply with quote

we run the loading of the table using JCL...I dont get u why u r talking abt Insert command...I have a file with 4 colums...and I am tring to load to a table of 5 columns...assume that 5th column is not null..then if I try to load what would happen...
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Mon Aug 03, 2009 12:40 pm
Reply with quote

Hello Chennai,

Is 5th column is defined as nOt null with default value?If yes it will contain default value for all the existing rows.
Back to top
View user's profile Send private message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Mon Aug 03, 2009 1:25 pm
Reply with quote

oh ...ok thanks ...you mean there will not be any abend if I execute the job...hope my understanding is correct
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Increase the number of columns in the... IBM Tools 3
No new posts DB2 Views with Multiple SQL & Col... DB2 8
No new posts Rexx pattern matching on PS qualifer ... CLIST & REXX 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
Search our Forums:

Back to Top