RSD file system

The RSD (record sequential delimited) file system supports sequential files that have fixed or variable-length records. You can process RSD files by using the standard system file utility functions such as browse, edit, copy, delete, and print.

RSD files provide good performance. They give you the ability to port files easily between AIX® and Windows-based systems and to share files between programs and applications written in different languages.

RSD files support all COBOL data types in records of fixed or variable length. Each record that is written is followed by a newline control character. For a read operation, the file record area is filled for the record length.

The RSD file system is safe for use with threads. However, you must ensure that multiple threads do not access the level-01 records for the file at the same time. Multiple threads can perform operations on the same RSD file, but you must use a pthread_cond_wait call or its equivalent to force all but one of the threads to wait for the file access to complete on the active thread.

related concepts  
File organization and access mode