Administrative API Reference

sqlgmcpy - Copy Memory

Copies data from one memory area to another. It is used in host languages, such as FORTRAN and COBOL, that do not provide memory block copy functions.

Authorization

None

Required Connection

None

Version

sqlutil.h

Generic API Syntax



/* File: sqlutil.h */
/* API: Copy Memory */
/* ... */
SQL_API_RC SQL_API_FN
  sqlgmcpy (
    void * pTargetBuffer,
    const void * pSource,
    sqluint32 NumBytes);
/* ... */
 

API Parameters

pTargetBuffer
Output. Area into which to move the data.

pSource
Input. Area from which to move the data.

NumBytes
Input. A 4-byte unsigned integer representing the number of bytes to be transferred.

Usage Notes

This API is used in the COBOL and FORTRAN languages only.

See Also

sqlgaddr - Get Address.


[ Top of Page | Previous Page | Next Page ]