ILE C/C++ Programmer's Guide

I/O Considerations for Diskette Files

A diskette unit can only be accessed with a program described file. An ILE C/C++ program can only process a diskette file sequentially.

The concept of clearing a file or opening a file using append mode does not apply to diskette files.

The diskette file label name is required when the file is opened. You specify this label name using the Override Diskette File (OVRDKTF) command.

If the diskette file is opened for input and:

Note:
Output may not always result in an I/O operation to a diskette file. The I/O buffer must contain enough data to fill an entire track on a diskette.

When opening a diskette file for output, any files existing on the diskette are deleted if the data file expiration date is less than or equal to the system date.


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