|
I have tried passing variables to the following QMQRY def, but no luck: UPDATE CSWFLOP SET WFIDCR = &TO WHERE WFIDCR = &FROM using the CL command: STRQMQRY QMQRY(CSWFLOP01) SETVAR(('&TO' 'TDER4') ('&FROM' 'TDER3') which returns the love note: '&TO is not a valid Query Management variable.' so I tried: STRQMQRY QMQRY(CSWFLOP01) SETVAR((TO 'TDER4') (FROM 'TDER3')) with a new message: 'Column TDER4 not in specified tables.' I looked in the archives and found references to adding multiple single quote marks, but again, nada. This cannot be that difficult. What am I missing? Dan Rasch - because if the human species concentrated on the really important things in life, there would be a shortage of fishing poles! IBM Certified twice....... but still a couple PTFs away from Nirvana.
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.