IBM Books

Administrative API Reference

SQLA-FLAGINFO

This structure is used to hold flagger information.

Table 17. Fields in the SQLA-FLAGINFO Structure
Field Name Data Type Description
VERSION SMALLINT Input field that must be set to SQLA_FLAG_VERSION (defined in sqlaprep).
MSGS Structure An imbedded sqla_flagmsgs structure.


Table 18. Fields in the SQLA-FLAGMSGS Structure
Field Name Data Type Description
COUNT SMALLINT Output field set to the number of messages returned by the flagger.
SQLCA Array Array of SQLCA structures returning information from the flagger.

Language Syntax

C Structure



/* File: sqlaprep.h */
/* Structure: SQLA-FLAGINFO */
/* ... */
SQL_STRUCTURE sqla_flaginfo
{
  short             version;
  short             padding;
  struct            sqla_flagmsgs msgs;
};
/* ... */
 



/* File: sqlaprep.h */
/* Structure: SQLA-FLAGMSGS */
/* ... */
SQL_STRUCTURE sqla_flagmsgs
{
  short             count;
  short             padding;
  SQL_STRUCTURE sqlca sqlca[SQLA_FLAG_MAXMSGS];
};
/* ... */
 

COBOL Structure



* File: sqlaprep.cbl
01 SQLA-FLAGINFO.
    05 SQLFLAG-VERSION            PIC 9(4) COMP-5.
    05 FILLER                     PIC X(2).
    05 SQLFLAG-MSGS.
        10 SQLFLAG-MSGS-COUNT      PIC 9(4) COMP-5.
        10 FILLER                  PIC X(2).
        10 SQLFLAG-MSGS-SQLCA OCCURS 10 TIMES.
*
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]