Title: How do I specify which file status codes I want to use?
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.
Authored by: Veryant Support on Wed, Sep 2nd, 2009 at 7:00 PM
This question has been viewed 6797 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=93

Powered by PHPKB Knowledge Base Software