View previous topic :: View next topic
|
Author |
Message |
ossodue
New User
Joined: 29 Mar 2006 Posts: 4
|
|
|
|
=======
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When doing the unload, generate an extra column of data for this. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
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 |
|
|
ossodue
New User
Joined: 29 Mar 2006 Posts: 4
|
|
|
|
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 |
|
|
|