• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

PF Trigger Program Thinks QTMHHTTP Added/Updated Record

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

  • PF Trigger Program Thinks QTMHHTTP Added/Updated Record

    In Valence 4.1, we are using the standard RPG WRITE and UPDATE opcodes to create and change records. If the file we are changing has a trigger program attached, that trigger program thinks QTMHHTTP is performing the update. Is there anything I can do to get the job to run under the user profile who is changing the record? We have the portal login set up to use IBM i authentication.

  • #2
    There is a distinction on the IBM i between the "job user" and the "current user". The job user on Valence will always be QTMHHTTP (the user profile that originally started the job). Valence is actually switching the user profile when you make a call but your trigger program is probably acting on the job user. Check to see in your trigger program if you can see the current user.

    Comment


    • #3
      Perhaps you'll find this post helpful:
      http://cnxforum.com/showthread.php?1...ce&p=36#post36

      Comment


      • #4
        This old post may be helpful.

        http://cnxforum.com/showthread.php?1...ce&p=36#post36

        Comment


        • #5
          Thanks guys. Indeed we are always looking for job user.

          Comment

          Working...
          X