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!
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!
Comment