|
That would be a mess - but using CHGPF does that for you (map fields). We find we have eliminated many mistakes by using CHGPF. jim ----- Original Message ----- From: <GKern@xxxxxxxxxxxxxxxx> To: <midrange-l@xxxxxxxxxxxx> Sent: Tuesday, December 07, 2004 4:48 PM Subject: Re: ALTER TABLE over multiple members > > What problems? - I often add new fields within the layout, or expand > > existing fields, both single & multimember. Even drop fields. > > The only limit i have had so far was changing alpha to num or reverse. > > btw- the chgpf command is internally doing a copy. You will get halts > > if decimal data errors, and a warning if dropping a field or shortening > > a field (warning about potential lost data). > > He didn't use *MAPFLD during a cpyf. He'll never do that again <G>. > > Regards, Jerry > > Gerald Kern > IBM Certified AS/400 RPG IV Developer & RPG IV Programmer > MIS Project Leader, Lotus Notes/Domino Administrator > The Toledo Clinic, Inc. > 4235 Secor Road > Toledo, OH 43623-4299 > Phone 419-479-5535 > gkern@xxxxxxxxxxxxxxxx > > ***** > This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ---------------------------------------------------------------------------- ---- > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
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.