Just to follow up, this worked perfectly! Now if my code would just
write itself, I'd be set!

--
Mike Wills
http://mikewills.me


On Thu, Jun 30, 2011 at 4:34 PM, CRPence <CRPbottle@xxxxxxxxx> wrote:
  If I have understood correctly [probably not since I would expect
instead of &FILENAME, to see something like &ATFILE or &PHFILE], then I
think the following will assist...

  Specify the desired record format name on the RCDFMT clause of the
CREATE TABLE, using the identical format-name each time, irrespective of
the [changing] TABLE name being created each time.  Without that clause,
the record format name matches the name of the TABLE, so the record
format name referenced by the run-time will not always match the name
originally used to compile the program [as shown in DSPPGMREF].
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/db2/rbafzhctabl.htm

  After that modification, presumably the LVLCHK(*NO) can be omitted as
well, to enable notification of any unexpected changes.

Regards, Chuck

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.