Data Movement Utilities Guide and Reference

SQLUIMPT-IN Data Structure

This structure is used to pass information to the Import API.

Table 3. Fields in the SQLUIMPT-IN Structure
Field Name Data Type Description
SIZEOFSTRUCT INTEGER Size of this structure in bytes.
COMMITCNT INTEGER The number of records to import before committing them to the database. A COMMIT is performed whenever commitcnt records are imported.
RESTARTCNT INTEGER The number of records to skip before starting to insert or update records. This parameter should be used if a previous attempt to import records fails after some records have been committed to the database. The specified value represents a starting point for the next import operation.

Language Syntax

C Structure



/* File: sqlutil.h */
/* Structure: SQLUIMPT-IN */
/* ... */
SQL_STRUCTURE sqluimpt_in
{
  sqluint32       sizeOfStruct;
  sqluint32       commitcnt;
  sqluint32       restartcnt;
};
/* ... */
 

COBOL Structure



* File: sqlutil.cbl
01 SQL-UIMPT-IN.
    05 SQL-SIZE-OF-UIMPT-IN   PIC 9(9) COMP-5 VALUE 12.
    05 SQL-COMMITCNT          PIC 9(9) COMP-5 VALUE 0.
    05 SQL-RESTARTCNT         PIC 9(9) COMP-5 VALUE 0.
*
 


[ Top of Page | Previous Page | Next Page ]