U bent hier

i

BRMS breaks usage of DB2 API QZDFMDB2

Running these commands result in successful process return code:

CRTPF FILE(QTEMP/XYZ) RCDLEN(50)     

CALL PGM(QZDFMDB2) PARM('DROP TABLE QTEMP.XYZ')

(Result: "DB20000I  THE SQL COMMAND COMPLETED SUCCESSFULLY.")

While if you run these same commands, but in between go into a BRMS function (just go into the command and exit it immediately with F3 is enough), like here:

CRTPF FILE(QTEMP/XYZ) RCDLEN(50)

WRKMEDBRM

CALL PGM(QZDFMDB2) PARM('DROP TABLE QTEMP.XYZ')