Ok, most people know that I despise CPYTOIMPF and CPYFRMIMPF. And, yes, I
do encourage you to use Scott Klement's templates for processing IFS
files. However CPYTOIMPF and CPYFRMIMPF were enhanced to allow the column
names automatically into the data. PTF SI46771 for 7.1.
CPYTOIMPF ... ADDCOLNAM(...)
CPYFRMIMPF ... RMVCOLNAM(...)
http://www-01.ibm.com/support/docview.wss?uid=nas2d84567de3459d20a862579f3003c9ab4
(ps: What is V9R9M9 at this link?)
You could always submit a design change request to map the data based on
these column names. Don't see that in the new DB2 group ptf (due out the
day we bring our main systems down for PTF's for that quarter).
https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/IBM%20i%20Technology%20Updates/page/SF99701%20Level%2022%20enhancements
Rob Berendt