ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

how to load error messages

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

  • how to load error messages

    hi guys. how can i load a message subfile to display an error message? i've been looking into different sites and threads but i seem to get confused since i am a newbie in rpg. thanks so much.. =)
    Last edited by lushh; September 24, 2007, 01:17 AM.

  • #2
    Re: how to load error messages

    Hi Lushh,

    Try using the ERRSFL keyword on your DDS specs. (file-level keyword).
    Regards

    Kit
    http://www.ecofitonline.com
    DeskfIT - ChangefIT - XrefIT
    ___________________________________
    There are only 3 kinds of people -
    Those that can count and those that can't.

    Comment


    • #3
      Re: how to load error messages

      how bout this




      jamie
      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


      • #4
        Re: how to load error messages

        hi jamief, i was just wondering what are these for?

        D DS INZ
        D STKCNT 001 004B 0
        D DTALEN 005 008B 0
        D ERRCOD 009 012B 0

        are these constants?

        thanks so much! =)

        Comment


        • #5
          Re: how to load error messages

          THere are just variable required for the API to send messages to message Q



          jamie
          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


          • #6
            Re: how to load error messages

            oh ok. so, i'll just copy all that's in it. thanks a lot jamief.. =)

            Comment


            • #7
              Re: how to load error messages

              you can just download the source ...


              (there are three text files in a zip file)

              jamie
              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


              • #8
                Re: how to load error messages

                thanks. i will... =)

                Comment

                Working...
                X