|
Hi Richard
At least since V5R2, the CHGPF command lets you specify a source member
that has the changes, the data will be copied, changes made, then data
copied back - at least, that's the effect.
If DDL with SQL, ALTER TABLE gives some options - deleting, changing,
and adding columns can be done - adding has to be at the end, IIRC.
Cheers
Vern
On 11/24/2021 8:37 AM, Alan Shore via MIDRANGE-L wrote:
Hi Richard(decades) release, you may have no choice
The answer to your question is tape recording number 26
It depends
First - what release are you on? If you are on an extremely old
What change are you doing?Behalf Of Richard Schoen
Adding one or more new fields?
Changing an existing field - if so - from what to what
Alan Shore
Solutions Architect
IT Supply Chain Execution
[NHScsignaturelogo]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx
'If you're going through hell, keep going.'
Winston Churchill
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On
Sent: Wednesday, November 24, 2021 9:32 AMIbmi. Usually you move or rename the table, create new table and then copy
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Deploying DB2 Table Changes
Hey all looking for best way to auto deploy database table updates on
data back to new table, but it is rather manual,
list
Thoughts welcome.
Regards
Richard Schoen
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,https://lists.midrange.com/mailman/listinfo/midrange-l>
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archiveshttps://archive.midrange.com/midrange-l>.
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
link: https://amazon.midrange.com<https://amazon.midrange.com>
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.