Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Load Utility problem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Load Utility problem
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

Site Director


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

PostPosted: Fri Oct 07, 2011 8:03 pm    Post subject:
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    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Fri Oct 07, 2011 8:04 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us