Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

B.8 Important Notes about the NetCOBOL File system

Points of concern about sharing and exclusion of the NetCOBOL file

When the NetCOBOL file is specified for an input file or an output file, PowerBSORT inputs and outputs the NetCOBOL file by using the NetCOBOL file system. Therefore, sharing and the exclusion of the file are controlled by the NetCOBOL file system. Open in the sharing mode when the input file is a NetCOBOL file. Open in the exclusion mode when using an output file. Refer to the manual of the NetCOBOL for details.

Points of concern about file access library for NetCOBOL sequential files and NetCOBOL physical sequential files

Two kinds of libraries are prepared in the file access library for a NetCOBOL sequential file and a NetCOBOL physical sequential file. The outline of processing of each file access library is as follows. Refer to the manual of NetCOBOL for details of BSAM in NetCOBOL.

File organization

File access library

Outline of processing

sequential file

libbscblrt64.so

Use the NetCOBOL file system to open, to close, and to input and output the file. It is low-speed because it inputs and outputs one record at a time.

libbscblfast64.so

Use the NetCOBOL file system to open and to close the file. Use the read system call and the write system call to input and output the file. It is high-speed because it inputs and outputs bringing two or more records together. It is similar to BSAM in NetCOBOL.

physical sequential file

libbscblps64.so

Use the NetCOBOL file system to open, to close, and to input and output the file. It is low-speed because it inputs and outputs one record at a time.

libbscblpsfast64.so

Use the NetCOBOL file system to open and to close the file. Use the read system call and the write system call to input and output the file. It is high-speed because it inputs and outputs bringing two or more records together. It is similar to BSAM in NetCOBOL.

These file access libraries can be used properly by defining BSORT_FILESYS_fs of a startup file.
However, the following file access libraries can be used without defining BSORT_FILESYS_fs of a startup file when the following identifiers (bsort command or bsortex command) or the definition values (BSORT function) are specified.

File organization

Identifier

Definition value

File access library used

sequential file

cobs64

BSFS_COBS64

libbscblfast64.so

physical sequential file

cobp64

BSFS_COBP64

libbscblpsfast64.so

About NetCOBOL Line Sequential files

The NetCOBOL line sequential file can be processed as a text file in PowerBSORT.
Specify it as follows when you process the NetCOBOL line sequential file. However, note that file sharing and exclusive control of the NetCOBOL file system is not executed.