ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

SQLCOD values

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

  • SQLCOD values

    Hi,
    Is it the case that any SQLCODE other than 0 to 100 (inclusive of 0 and 100) range is exception in SQL statement execution?
    Only 0 to 100 are either warning or successful operation SQLCODE value?


    Thanks

  • #2
    Re: SQLCOD values

    Hi,

    SQLCODE between 01 and 99 are warnings
    SQLCODE 100 means not found
    SQLCODE < *Zeros means error.

    Birgitta
    Last edited by B.Hauser; June 15, 2008, 11:23 PM.

    Comment


    • #3
      Re: SQLCOD values

      Check this thread

      Jamie lists a nice PDF with codes explained, and LittlePD links to an IBM site to search for SQL codes.

      For further examples look at Kit's avatar ....
      Greg Craill: "Life's hard - Get a helmet !!"

      Comment


      • #4
        Re: SQLCOD values

        and it's a sticky at the top of this forum
        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


        • #5
          Re: SQLCOD values

          Hey guys
          All people over here are really helpful and having very good knowledge. Thanks so much before 5-6 years I used embedded so was having confusion. So as per 100 + SQLCOD are also considered as fatel errors. Please correct me if am wrong.

          Thanks again.
          Last edited by instrucrat1; June 16, 2008, 07:17 PM.

          Comment

          Working...
          X