ILE C/C++ Programmer's Guide

Opening Display Files and Subfiles as Binary Stream Files

To open an iSeries display file or subfile as a binary stream file for record-at-a-time processing, use the fopen() function with one of the following modes:

The CRTDSPF command is the only way to create a display file. If you use the fopen() function and the display file does not exist, a physical database file is created.

The valid keyword parameters are:

I/O Considerations for Binary Stream Subfiles

Only message subfiles are supported for binary stream subfiles.

Program Devices for Binary Stream Display Files

The program device that is associated with display files is a workstation. You establish the default device by implicitly acquiring it using the fopen() function.

Binary Stream Functions for Display Files and Subfiles

Use the following binary stream functions to process display files and subfiles:


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