MarkRaleigh
Programmer
I am creating a trigger program in RPG for updating a file on the AS400. I have created my output file, created the trigger buffers and defined them in my RPG program and also added the triggers to the database file I am "monitoring" for changes. My problem is that the records output to my file are all blank when they are written. I have 13 years of programming in RPG but this is my first experience with triggers. Where can I look to determine what I am doing wrong? The fact that the triggers are "firing" and putting empty records into the file I am creating seems to imply that the triggers are set up correctly. I just don't understand why the output fields are blank. Any help would be greatly appreciated. Thanks!