Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Trigger programming examples

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trigger programming examples

    The RPG Redbook has an example. You can find the link to the Redbook in the FAQ at http://faq.midrange.com --buck

  • #2
    Trigger programming examples

    Hi, you'll find examples for RPGIV triggers in the following redbook: Modernizing IBM eServer iSeries Application Data Access - A Roadmap Cornerstone / Chapter 8: http://www.redbooks.ibm.com/abstract...6393.html?Open

    Comment


    • #3
      Trigger programming examples

      Accompanying code is an example of a trigger program that we've been using for several years. This basic approach seems pretty bulletproof and simple. This uses pointers for the buffers, which eliminates the problems when you change file layout. It also uses procedures to post either the old or new order number or customer number to a data queue, from which the actual required processing occurs. This expedites the return of program control to users in an interactive session, but assumes that the action taken is not critical to the continuation of the user's operations. The action taken could be performed in the actual trigger program, but the time required adds to the user's response time.
      Code

      Comment


      • #4
        Trigger programming examples

        I am attempting to write my first Trigger program in RPG IV. I'm having some trouble defining the imput buffer for the section that pertains to the before, and after images of the file. Can someone explain how this is done, or point me to a good redbook on the subject. Thanks.

        Comment

        Working...
        X