Hello there,
this is not exatly db2 issue but if somebody is familiar with As/400 query manager and could help.
Here is the simple example of the query:
SELECT * FROM libl39/cipname0 A WHERE cuno=&cuno
Here is the cl:
PGM PARM(&CUNO)
DCL (&CUNO) (*CHAR) LEN(7)
CHGVAR VAR(&CUN) VALUE(&CUNO)
STRQMQRY QMQRY(DSP_PF) SETVAR((CUNO &CUNO))
Problemo:
Why doesn't this cl pass the parameter to query but is allways prompting the variable cuno?
this is not exatly db2 issue but if somebody is familiar with As/400 query manager and could help.
Here is the simple example of the query:
SELECT * FROM libl39/cipname0 A WHERE cuno=&cuno
Here is the cl:
PGM PARM(&CUNO)
DCL (&CUNO) (*CHAR) LEN(7)
CHGVAR VAR(&CUN) VALUE(&CUNO)
STRQMQRY QMQRY(DSP_PF) SETVAR((CUNO &CUNO))
Problemo:
Why doesn't this cl pass the parameter to query but is allways prompting the variable cuno?