ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

problems with SQLCA

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

  • problems with SQLCA

    I wanna use SQLCOD in the RPG program. and i coded as below
    ISQLCA DS
    **************************************
    B 13 160SQLCOD
    **************************************
    SQLCOD DOUNE0
    **************************************
    ENDDO
    but it can't be compiled because of the following errors:
    1. Data-structure name already uesed as data structure.
    default name is assigned.
    2. Subfield-name specified already defined as subfield-name.
    Specification line ignored.

    how to use the SQLCOD and SQLCA?
    thanks in advance!

  • #2
    Re: problems with SQLCA

    You need not declare those variables in the program. You can directly use the variables.
    Thanks,
    Giri

    Comment


    • #3
      Re: problems with SQLCA

      yeh, you are right.I got the right result.
      Thank you very much!

      Comment

      Working...
      X