ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Spoofing SNDMSG

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

  • Spoofing SNDMSG

    I've made several runs at SNDMSG calls from PC applications, from simply invoking the command to running the API, and all messages thus issued appear to be sent by QUSER. Makes a certain amount of sense, since that's the job through which the PC is talking to the 400, but not very helpful to people on the receiving end of such messages. Anybody out there know how I might spoof such messages? All I want to do is "forge" them under the ID of the current user.

    TIA

  • #2
    Re: Spoofing SNDMSG

    try using the sbmjob and user field

    PHP Code:
    SBMJOB CMD(CALL PGM(DAILYSALES)) USER(SOMEUSER
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Spoofing SNDMSG

      Works brilliantly, thanks very much!

      Comment

      Working...
      X