Hi *all
ich habe ein CL mit einer Variablen S01, char 55
und ein qmqry obj das nur aus &S01 besteht

und ein CLLE das folgendes ausführt
Code:
CHGVAR     VAR(&S01) VALUE('INSERT INTO ERRORP#S SELECT + 
             * FROM ERRORP')                              
STRQMQRY   QMQRY(S01) OUTPUT(*PRINT) SETVAR((S01 &S01))   
MONMSG     MSGID(CPF0000)
Interaktiv läuft es, im Batch bekomme ich ein QWM1939
Warum ?
S01 ist in beiden Fällen in Großschrift

Ich habe keinen Ansatz
Danke
Robi