Just curious why not use cpyf? It is simple and clean. Are you looking for embedded RPG or portability?
From: Michael Ryan
Sent: Wednesday, March 06, 2013 9:21 AM
To: Midrange Systems Technical Discussion
Subject: SQL INSERT FMTOPT(*MAP *DROP)
I need to insert corresponding columns from TableB into TableA. TableB has
more columns than TableA. All the rows will be inserted. I need the
equivalent of CPYF FMTOPT(*MAP *DROP). I don't want to specify all the
column names if I don't have to. Any ideas?
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact