Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


STL file system

The STL file system (standard language file system) supports sequential, indexed, and relative files. It provides the basic file facilities for accessing files.

The STL file system conforms to Standard COBOL 85, and gives good performance and the ability to port easily between AIX and Windows-based systems. The LINE SEQUENTIAL organization is the only file organization type not supported by the STL file system.

The 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 STL file, but you must use an operating system call (for example, WaitForSingleObject) to force all but one of the threads to wait for the file access to complete on the active thread.

With the STL file system, you can easily read and write files to be shared with PL/I programs.

related concepts
File organization and access mode

related tasks
Identifying STL files

related references
STL file system return codes


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)