Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

5.3.21 InputFileType property

This property sets file type of the input file and the record format for the sort processing, merge processing and copy processing.

Syntax

object.InputFileType = integer

object

This specifies object expressions that define references to objects.

integer

This specifies file type of the input file and the record format. As for values to be set, refer to the following setting value.

Setting value

Setting values of the InputFileType property are as follows.

Setting value

Meaning

0

Text file (Default value)

1

Binary fixed length file

2

NetCOBOL sequential fixed length file

3

NetCOBOL sequential variable-length file

4

NetCOBOL indexed fixed length file

5

NetCOBOL indexed variable-length file

6

NetCOBOL relative fixed length file

7

NetCOBOL relative variable-length file

8

Micro Focus COBOL sequential fixed length file

9

Micro Focus COBOL sequential variable-length file

10

Micro Focus COBOL indexed fixed length file

11

Micro Focus COBOL indexed variable-length file

12

Micro Focus COBOL relative fixed length file

13

Micro Focus COBOL relative variable-length file

14

Btrieve fixed length file

15

Btrieve variable-length file

Description

Note

  • When NetCOBOL file (Setting value:2-7) is set as a file type, the COBOL file system is required.

  • The Micro Focus COBOL indexed file in which the data is compressed cannot be specified for the input file.

  • PowerBSORT cannot access files opened by the NetCOBOL file system in exclusive mode. In addition, if the NetCOBOL indexed file (Setting value:4 and 5) is specified, PowerBSORT cannot access files opened by the NetCOBOL file system in shared mode. For more details on shared mode and exclusive mode, refer to the documentation of your NetCOBOL file system.

  • When the Btrieve file (Setting value:14 and 15) is set as an input file type, the Btrieve file system is required.

  • When you use the NetCOBOL file system (BSAM-compatible sequential file), set the NetCOBOL sequential file (Setting value:2 and 3) after specifying BSAM for environment variable BSORT_COBFSYS_MODE.