Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RPG Trigger program on AS400 using RPG III

Status
Not open for further replies.

MarkRaleigh

Programmer
Dec 4, 2002
1
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top