ILE COBOL Programmer's Guide


Accessing Files Stored on Diskette Devices

You use diskette files to read and write records on diskettes that are in the diskette device and that have been initialized in the basic, H, or I exchange format. File stored on diskette devices can be divided into the following two categories:

You can create your own diskette files using the Create Diskette File (CRTDKTF) command. For further information on the CRTDKTF command, see the CL and APIs section of the Programming category in the iSeries 400 Information Center at this Web site -http://publib.boulder.ibm.com/pubs/html/as400/infocenter.htm. Alternately, you can use the default IBM-supplied diskette file QDKT. The diskette file identifies the diskette device to be used.

To use a file that is stored on a diskette device, in your ILE COBOL program, you must:

You can only store a sequential file on a diskette device because diskette devices can only be accessed sequentially. The file operations that are valid for a diskette device are OPEN, CLOSE, READ, and WRITE.


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