|
R MATTR MYCHAR 5A MYDATE L MYDEC 7P 2 CRTPF FILE(ROB/MATT) SRCFILE(ROB/QDDSSRC) STRSQL DECLARE GLOBAL TEMPORARY TABLE DUH AS ( SELECT * FROM MATT) WITH DATA Table DUH created in QTEMP. FDUH IP E DISK RENAME(DUH:DUHR) Recompiled the above one line program. It will use the global temporary table. Not the 'MATT' table that the global temporary table is based off of. CALL DUHPGM No level checks, etc. Looks great. Again, have you tried compiling the RPG against the GLOBAL TEMPORARY TABLE? Rob Berendt
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.