Setting the iscobol.sqlserver.iss (boolean) to true is not enough. isCOBOL needs to locate the iss dictionary for the file.
The isCOBOL Compiler will generate a file named <filename>.iss for each file described in the COBOL program.Note: c-tree SQL Server doesn’t allow identifiers whose name begins with underscore. If one of the field names in your FD begins with underscore, you should change that name for the iss dictionary by using the EFD NAME Directive.
iscobol.sqlserver.isspath=path_where_iss_files_are_located
iscobol.sqlserver.database=database_nameiscobol.sqlserver.password=user_password
Another important issue that should be considered is the sign convention. Ensure that the property iscobol.sqlserver.convention is set to the proper value depending on the data compatibility options in your compiler command line.
It’s possible to include part of the file path in the table name by setting iscobol.sqlserver.dirlevel to a value different than zero. The following table shows some examples:
physical file name: /home/user1/data/file1 It’s possible to customize the name of the table by configuring the replacement performed on the physical file name through the property iscobol.sqlserver.iss.replacement_rules. The following table shows some examples:
physical file name: /home/user1/data/f-cust.cdt
Note - iscobol.sqlserver.iss, iscobol.sqlserver.isspath and iscobol.sqlserver.database must always be set, otherwise the automatic link procedure is not performed.
OPEN OUTPUT logical_file_name.
| 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 |