Top
NetCOBOL V11.0 Messages
FUJITSU Software

Appendix A COBOL File System Error Codes

This section explains the details of error codes that may be output by the COBOL file system.

Table A.1 COBOL file system runtime error codes

Code
(Hexadecimal Number)

Explanation

Programmer Response

High

Low

10

Requested to make an entry after the end of a file or before the beginning of a file.

Check whether the number of input character items are correct.

21

An error was found in the order of a primary key.

Correct the program so that the key values are written in ascending order, or so that the record key values read by the preceding READ statement are not changed.

22

A new record key was duplicated in a file in which the duplicate keys are not allowed.

Correct the program so that the key is not duplicated.

23

The specified record does not exist.

Change the logic so that no attempt is made to operate on a record that does not exist.

24

Insufficient disk space.

Add more disk space and try again.

24

01

The record number specified for writing a relative record file was invalid (zero).

Specify a value for the relative record number.

24

02

Writing a record caused the maximum file size to be exceeded.

Split the file so that the file does not exceed the maximum file size.

30

mm nn 01

The COBOL file system encountered an operating system error.

Correct the error returned from OS specified in mm nn.

30

01 01

Acquisition of a memory area failed.

Expand memory or expand virtual memory (swap).

30

03 0A

No single record exists.

Store at least one record.

30

04 0A

More files than accepted exist.

Open a support incident with your support provider.

30

05 0A

Handle name error.

Open a support incident with your support provider.

35

A file with the specified file name does not exist.

Confirm if the specified file name or path name exists.

37

Access was mismatched against the file property.

Open a support incident with your support provider.

37

07

Issued an open output or I-O instruction against a read-only file.

Confirm the file access rights.

38

Cannot open a file closed with a lock.

Do not operate on a file after it is closed with a lock.

39

Cannot open a file because of a mismatch of file properties.

The file property specified in a parameter or option must match with that of the physical file.

39

01

Mismatched file organization.

The file organization specified in a parameter or option must match with that of the physical file.

39

02

Mismatched minimum record length.

The minimum record length specified in a parameter or option must match with that of the physical file.

39

03

Mismatched maximum record length.

The maximum record length specified in a parameter or option must match with that of the physical file.

39

04

Mismatched minimum block length.

Open a support incident with your support provider.

39

05

Mismatched maximum block length.

Open a support incident with your support provider.

39

06

Mismatched record delimiter.

When the file property specified in a parameter or option is record sequential variable-length format, confirm that the physical file is the same format. If not, open a support incident with your support provider..

39

07

Mismatched code set.

Open a support incident with your support provider.

39

08

Mismatched collation sequence.

Open a support incident with your support provider.

39

09

Mismatched record format.

Open a support incident with your support provider.

39

0A

Mismatched padding character.

Open a support incident with your support provider.

39

30-7F

Mismatched properties (an offset, size, WITH DUPLICATES, etc.) for a key item in an indexed file.

The key property of an indexed file must match with that of the physical file.

43

An error occurred in the final reading.

Open a support incident with your support provider.

90

01

Contradiction of access with open processing.

Open a support incident with your support provider.

90

04

Contradiction of access with the file organization.

Open a support incident with your support provider.

90

05

Contradiction of the file truncate instruction with another user.

Open a support incident with your support provider.

90

06

A server session is rejected.

Open a support incident with your support provider.

90

07

Invalid access against a read-only file.

Open a support incident with your support provider.

90

08

Unsupported access.

Open a support incident with your support provider.

90

09

Insufficient message area.

Open a support incident with your support provider.

90

10

Invalid session ID.

Open a support incident with your support provider.

92

Unclosed file.

Open a support incident with your support provider.

92

01

Open issue against a file already opened.

Open a support incident with your support provider.

93

Invalid file.

Open a support incident with your support provider.

93

02

A file is locked with another file's connector.

Delete the file locking state from the other file's connector.

93

06

Cannot open because a file already exists.

Use a directory without a file or use a different file name.

94

Cannot open the file because the file attributes do not match.

Make sure that the attributes specified in parameters and options match the attributes of the physical file.

94

21

The file organizations do not match.

Make sure that the file organization specified in parameters and options matches the file organization of the physical file.

94

22

The minimum record lengths do not match.

Make sure that the minimum record length specified in parameters and options matches the minimum record length of the physical file.

94

23

The maximum record lengths do not match.

Make sure that the maximum record length specified in parameters and options matches the maximum record length of the physical file.

94

24

The minimum block lengths do not match.

Open a support incident with your support provider.

94

25

The maximum block lengths do not match.

Open a support incident with your support provider.

94

26

The record delimiters do not match.

Make sure that the maximum record length specified in parameters and options matches the maximum record length of the physical file. If the file attribute specified in parameters and options is a record sequential file of variable-length format, make sure that the physical file is a record sequential file of variable-length format. In any other case, open a support incident with your support provider..

94

27

The code sets do not match.

Open a support incident with your support provider.

94

28

The collation sequences do not match.

Open a support incident with your support provider.

94

29

The record formats do not match.

Open a support incident with your support provider.

94

2A

The embedded characters do not match.

Open a support incident with your support provider.

94

30-5F

Attributes of indexed file key items (such as offset, size, and WITH DUPLICATES setting) do not match.

Make sure that the attributes of indexed file keys match the attributes of the physical file.

94

60

Insufficient disk space to create the file.

Increase the available memory or virtual memory (swap).

94

61

Insufficient disk space to create the file.

Increase the available disk space and try again.

94

64

There is an error in the specified file name.

Make sure that the file name does not include any invalid characters.

96

Undefined file position.

Open a support incident with your support provider.

97

01

An inappropriate character exists in the record of the line sequential file.

Open a support incident with your support provider.

97

02

Inappropriate character.

Open a support incident with your support provider.

97

03

A record area shorter than the minimum record length is specified.

Open a support incident with your support provider.

97

04

A record area longer than the maximum record length is specified.

Open a support incident with your support provider.

97

07

Mismatched record length.

Open a support incident with your support provider.

98

Invalid file structure.

Open a support incident with your support provider.

99

A file is locked with another file's connector.

Delete the record locking state from the other file's connector.