Administrative API Reference

db2GetSyncSession

Gets the satellite's current synchronization session identifier.

Authorization

None

Required Connection

None

Version

db2ApiDf.h

C API Syntax



/* File: db2ApiDf.h */
/* API: db2GetSyncSession */
/* ... */
SQL_API_RC SQL_API_FN
  db2db2GetSyncSession (
    db2Uint32 versionNumber,
    void * pParmStruct,
    struct sqlca * pSqlca);
 
typedef struct
{
  char * poSyncSessionID;
} db2GetSyncSessionStruct;
/* ... */

API Parameters

versionNumber
Input. Specifies the version and release level of the structure passed in as the second parameter, pParmStruct.

pParmStruct
Input. A pointer to the db2GetSyncSessionStruct structure.

pSqlca
Output. A pointer to the sqlca structure. For more information about this structure, see SQLCA.

poSyncSessionID
Output. Specifies an identifier for the synchronization session that a satellite is currently using.


[ Top of Page | Previous Page | Next Page ]