Question:
What do I need to do to access Vision files from isCOBOL?
Answer:
isCOBOL 2023R1 and later
isCOBOL 2023R1 added an interface to the Vision file system called VisionJ. You can create, write, read, and lock Vision files using this interface by setting file index:
iscobol.file.index=VisionJCompression is supported with this file handler, but encrypted files and transaction logging are not.
isCOBOL 2022R2 and earlier
In order to access Vision you can build a Vision File Connector (vfc) and set iscobol.file.index to "vfc".
iscobol.file.index=vfcor this line to set up a single file if only one or some of your files are in the Vision format:
iscobol.file.index.FileName=vfcFileName is the physical name of your file, but it must be written in lowercase in the properties file.
select mylogicalfile assign to "MyPhysicalFile"then you would set: iscobol.file.index.myphysicalfile=vision Note that: if you have iscobol.file_suffix=DAT you must specify the file extension in all lowercase in the iscobol.file.index.FileName variable. For example:
iscobol.file_suffix=DAT iscobol.file.index.myphysicalfile.dat=vision
Article ID: 9
Created: August 28, 2009
Last Updated: May 22, 2023
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=9