Hola a todos recientemente hemos cambiado a la version V5R4,
(especificamente ayer) y hemos empezado a tener problemas con muchos programas
RPG con SQL, en estos momentos tengo uno que me esta marcando este error y no
se a que se deba, espero me puedan ayudar Additional
Message Information
Message ID . . . . . . : SQL0243
Severity . . . . . . . : 30 Message type . . . . . :
Diagnostic Date sent . . . . . . :
02/20/07 Time sent . . . . . . : 13:57:29
Message . . . . :
SENSITIVE cursor C1 cannot be defined for the specified SELECT statement.
Cause . . . . . :
The cursor C1 is defined as SENSITIVE but the query
requires the creation of a temporary result table. A SENSITIVE cursor
cannot be implemented.
Recovery . . . : Redefine the cursor as ASENSITIVE or INSENSITIVE or change
the query so that it no longer requires the creation of a temporary result
table.
La instruccion de SQL es la sig. antes trabajaba perfectamente, hay otros
programas con los mismos problemas
SELECT BIVDNO,BIORNO, BIITNO, BICPRQ,
sum(BISNDP), SUM(BISNWT), BIivno, bipric, ifnull(phordt,0), ifnull(pccsrf,'
'), ifnull(phstcd,' '), ifnull(phrm01,' '), ifnull(IMFNLV,' '), ifnull(IMCPPL,'
'),'NY' FROM PNYCSAS/bsid0p LEFT JOIN POC00!
P
ON (BIORNO=PCORNO AND BIITNO=PCITNO) LEFT JOIN POH00P ON (BIORNO=PHORNO AND
PHSTCD<>'X') LEFT JOIN IMM00P ON (BICPRQ=IMITNO) WHERE
PCVDNO<>'989' AND (IFNULL(PCORQT,0)=0 OR PCSTCD='D') GROUP BY
BIVDNO,BIORNO,BIITNO,BICPRQ,BIIVNO,BIPRIC, ifnull(phordt,0), ifnull(pccsrf,'
'), ifnull(phstcd,' '), ifnull(phrm01,' '), ifnull(imfnlv,' '), ifnull(imcppl,'
') order by bivdno,biorno,biitno,bicprq
Gracias por la
ayuda
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
__________________________________________________
Forum.HELP400 es un servicio m&#225;s de NEWS/400.
&#169; Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________
Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400