INFORMIX
DataBlade API Programmer's Manual
Chapter 3: Handling Smart Large Objects
Home Contents Index Master Index New Book

Using Operating-System Files

The DataBlade API supports the following types of functions for operating-system files and smart large objects:

The operating-system functions have a set of file modes that are distinct from the open modes of smart large objects, as the following table shows.
File Modes for Operating-System Files Purpose

MI_O_EXCL

Fail if the file already exists

MI_O_APPEND

Append to the end of file

MI_O_TRUNC

Truncate to zero if file exists

MI_O_RDWR

Read/write mode (default)

MI_O_RDONLY

Read-only mode (copying from operating-system files only)

MI_O_WRONLY

Write-only mode (copying to operating-system files only)

MI_O_TEXT

Text mode (default off)

MI_O_CLIENT_FILE

File is on client computer (default)

MI_O_SERVER_FILE

File is on server computer




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.