Opening Tape Files as Binary Stream Files
To open an IBM® i tape file as a binary stream file for record-at-a-time
processing, use the
fopen() function with one of the following
modes:
rbwbab
Note: The only way to create a tape file is to use the CRTTAPF
command. If you use the
fopen() function and the tape file does
not exist, a physical database file is created.The valid keyword parameters are:
typelreclrecfmblksize