ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

triggers generic

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

  • triggers generic


    I have the same file in different libraries with the same triggers, as I can determine the library of the file that is being affected in the trigger.

    The trigger only records a log of the changes made to the file, now I also need to include the file library

    thank you

  • #2
    Yes....
    And ????

    What is your question?

    Comment


    • #3

      In the trigger I need to determine the library of the file that is being affected. This data is necessary to register in my the log file of changes

      Comment


      • #4
        The trigger parameter has a subfield with the library of the file. https://www.ibm.com/support/knowledg...forzahftrc.htm
        0 0 CHAR(10) Physical file name
        10 A CHAR(10) Physical file library name
        20 14 CHAR(10) Physical file member name

        Comment


        • #5

          Thanks for the reply, My Trigger is in SQL, as I can access the trigger buffer with SQL?, I was using GET DESCRIPTOR, but I returned in white

          Comment

          Working...
          X