How do I specify which file status codes I want to use?

Question ID : 93
Created on 2009-09-02 at 2:17 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=93



You can choose which file status codes you want to use by setting the iscobol.file.status runtime framework property

iscobol.file.status

This property specifies which file status codes to use. Set it to one of the following values:

com.iscobol.io.FileStatusDefaultĀ (for 2002 file status codes)
com.iscobol.io.FileStatus85
com.iscobol.io.FileStatus74
com.iscobol.io.FileStatusDG
com.iscobol.io.FileStatusVax
com.iscobol.io.FileStatusIBM

For example, for RM/COBOL-85 (ANSI 85) codes setĀ iscobol.file.status=com.iscobol.io.FileStatus85

Note for Java programmers: This property specifies the name of the class that handles the file status code. It must implement the "com.iscobol.io.FileStatus" interface.


Back to Original Question