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

Load Utility problem


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

New User


Joined: 29 Mar 2006
Posts: 4

PostPosted: Fri Oct 07, 2011 7:49 pm
Reply with quote

=======
PREAMBLE
=======
I use this steps to transfer data from a production environment to a test environment:
1) I unload tables (10 tables) data with "syspunch" from Production envinronment
2) I trasfer datasets (10 datasets + 10 syspunch datasets) from production sysplex to test sysplex
3) I submit loads utility to load data into test environment tables (10 loads utility)

There is one table in every tablespace.

==========
THE QUESTION
==========
In the test environment there is a table with a column more than the same of production environment and the load doesn't work because there's no information in the input datasets for the new column.

How can I resolve the problem?

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2011 8:03 pm
Reply with quote

Hello,

When doing the unload, generate an extra column of data for this.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Oct 07, 2011 8:03 pm
Reply with quote

Quote:
How can I resolve the problem?



You definately need to modify your syspunch and input laod dataset to allign with test envirnment schema... No Go....[/code]
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Oct 07, 2011 8:04 pm
Reply with quote

not going to complain that this is an oft repeated question,
just say,

until you bring your production up to speed with development,
modify the unload to include in your select list, a valid value for the missing column, and cast as necessary.

That way your load dataset and the syspunch will be in sync.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Oct 07, 2011 8:24 pm
Reply with quote

dick scherrer wrote:
Hello,

When doing the unload, generate an extra column of data for this.

Yes.. Dick. ... This one is better way than dirty way of reprocessing unload dataset for reformatting... But that again needs to write modified sqls with additional dummy columns....

Upto TS now....
Back to top
View user's profile Send private message
ossodue

New User


Joined: 29 Mar 2006
Posts: 4

PostPosted: Sat Oct 08, 2011 12:16 am
Reply with quote

dick scherrer wrote:
Hello,

When doing the unload, generate an extra column of data for this.


In the unload utility I'll try an sql like this

Code:

Select a.*
       ,date('0001-01-01')
  from RSK_corman_01 a;


instead of

Code:

Select *
  from RSK_corman_01;


Thank you.
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 Load new table with Old unload - DB2 DB2 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top