File systems

Record-oriented files that have sequential, relative, indexed, or line-sequential organization are accessed through a file system.

COBOL for AIX supports the following file systems for sequential, relative, and indexed files:

COBOL for AIX supports the following file systems for sequential files:

You can specify the file system for a given sequential, relative, or indexed file in any of several ways. For details, see the related reference about precedence of file-system determination.

Record-oriented files that have line-sequential organization can be accessed only through the LSQ (line sequential) file system.

DB2 files are managed by the db2 command-line utility; SFS files are managed by the sfsadmin command-line utility. All other files exist in the line sequential AIX file system, and are managed by standard AIX commands such as cp, ls, mv, and rm. (Do not however use the cp or mv command for SdU files, which consist of multiple component files that refer to one another internally.)

All the file systems let you use COBOL statements to read and write COBOL files. Most programs have the same behaviors in all file systems. However, files written using one file system cannot be read using a different file system.

related concepts  
Line-sequential file organization  

related tasks  
Identifying files to the operating system (ASSIGN)
Identifying files

related references  
Precedence of file-system determination  
DB2 file system

QSAM file system
  
RSD file system  
SdU file system  
SFS file system
  
STL file system  
File-system summary  
STL and SdU files that are larger than 2 GB
  
System z host data format considerations