Trigger?
Ringer Software - 07:17pm Dec 13, 2004 PST (6.1.1.2) Show us the ADDPFTRG commands you used.. ADDPFTRG FILE(TDEDOFA) TRGTIME(*BEFORE) + TRGEVENT(*INSERT) PGM(TD606R8) + RPLTRG(*YES) ALWREPCHG(*YES) ADDPFTRG FILE(TDEDOFA) TRGTIME(*BEFORE) + TRGEVENT(*UPDATE) PGM(TD606R8) + RPLTRG(*YES) ALWREPCHG(*YES) I used it *BEFORE when trying to modify the buffer. I used it *AFTER when trying to update from the RPG. I thought I read in the Red Book on "Stored Procedures, Triggers and User Defined Functions" that you must be using commitment control to be able to modify the buffer and have it apply. But now I don't see it. Maybe I accidentally used the *AFTER when doing the buffer change. I don't think so, but I'll go test it again. -dan
Ringer Software - 07:17pm Dec 13, 2004 PST (6.1.1.2) Show us the ADDPFTRG commands you used.. ADDPFTRG FILE(TDEDOFA) TRGTIME(*BEFORE) + TRGEVENT(*INSERT) PGM(TD606R8) + RPLTRG(*YES) ALWREPCHG(*YES) ADDPFTRG FILE(TDEDOFA) TRGTIME(*BEFORE) + TRGEVENT(*UPDATE) PGM(TD606R8) + RPLTRG(*YES) ALWREPCHG(*YES) I used it *BEFORE when trying to modify the buffer. I used it *AFTER when trying to update from the RPG. I thought I read in the Red Book on "Stored Procedures, Triggers and User Defined Functions" that you must be using commitment control to be able to modify the buffer and have it apply. But now I don't see it. Maybe I accidentally used the *AFTER when doing the buffer change. I don't think so, but I'll go test it again. -dan
Comment