Comment utilise t’on les DS en SQL embarqué ?
Exemples :
DCL-DS DSstructure EXTNAME(TABLE) END-DS ;
EXEC SQL SELECT *
INTO :DSstructure
FROM BIBLIO/TABLE
WHERE ID = :IDENT ;
EXEC SQL INSERT INTO BIBLIO/TABLE VALUES(:DSstructure);
EXEC SQL UPDATE BIBLIO/TABLE set ROW = :DSstructure where clef = :clef ;