skip to main content

Files Management : Indexed Files : File Connectors : The Vision File Connector

The Vision File Connector
The Vision File Connector allows to work on Acucobol-GT Vision files by separating ISAM native access from java process.
The File Connector executable must be built by rebuilding an Acucobol-GT runtime including a special library provided along with isCOBOL:
The minimum Acucobol-GT version required to build the File Connector executable is 6.0.
Linux/Unix
The build process on Linux/Unix consists in the following steps:
1.
2.
copy the libctvision.a library to that folder
3.
a.
b.
add libctvision.a to the items of the runcbl entry.
c.
change runcbl to vfc as name of the output object
 
For example, the entry:
runcbl: amain.o $(SUBS)
$(CC) $(EXEC_LDFLAG) $(LDFLAGS) -o runcbl amain.o $(SUBS) libruncbl.a \
will change to:
$(CC) $(EXEC_LDFLAG) $(LDFLAGS) -o vfc $(SUBS) libruncbl.a \
4.
run the make command
Windows
The build process on Windows consists in the following steps:
1.
2.
copy the ctvision.lib library to that folder
3.
edit the file mswinsub.c as follows. Change the following part
to
4.
open the wrun32 project with Visual Studio, add the ctvision.lib library to it and build the project.
 
5.
Copy the generated wrun32.dll to the bin folder of isCOBOL or to another folder that comes before the Acucobol-GT bin directory in the %PATH%.
6.
Copy wrun32.exe from the Acucobol-GT bin directory to the same folder where you copied wrun32.dll and rename wrun32.exe to vfc.exe.
Usage
In order to make isCOBOL use the Vision File Connector as file handler, the following setting must appear in the configuration:
The vfc file handler runs the executable file vfc. If this file is not in the system Path, you can specify its full name by setting the iscobol.file.connector.program.vfc configuration property.
An acushare process (only on Linux/Unix) and a valid Acucobol-GT license are required for vfc to work.
The Vision File Connector reads configuration settings from the first applicable between:
Consult Acucobol-GT documentation for details about configuration entries affecting the Vision file system.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left