|
I have a query manager query that when I issue the command: STRQMQRY QMQRY(mylib/myquery) it prompts me for the variable needed then completes successfully. But, if I prompt the command with F4 and set the variable name and variable value it errors out: STRQMQRY QMQRY(mylib/myquery) SETVAR((VARIABLE 'AC7100P')) Column AC7100P not in specified tables. RUN QUERY command failed with SQLCODE -206. RUN QUERY command ended due to error. STRQMQRY command failed. STRQMQRY command failed. Am I missing something? Is my syntax wrong? ------------Query source on V4R5------------ H QM4 05 Q 01 E V W E R 01 03 01/10/09 09:30 V 1001 050 V 5001 004 *HEX SELECT ALL VARIABLE, DSTID, DSTFRQ FROM MYLIB/MYFILE T01 WHERE VARIABLE = &VARIABLE
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.