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:
Only message subfiles are supported for binary stream subfiles.
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.
Use the following binary stream functions to process display files and subfiles:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.