Skip to Content

 Data Access

Managing the order of the alternate keys in an indexed file

Sometimes when a user accesses a file migrated from Acucobol or RM/COBOL to either Jisam or c-tree file systems, the order of the alternate keys can change from the previous COBOL dialect used. In these cases or even when we created a brand new file... Read More

Can I call a stored procedure from an isCobol program?

isCOBOL's ESQL engine supports the CALL statement, making calling a stored procedure from isCOBOL easy. Here's an example of a call to a procedure with parameters and their types specified, returning a status: exec sql call proc1(... Read More

How to create, write, and read to files without a program

Question: Does isCOBOL provide a method to create an indexed file with a given structure and name, read a file by key and return the record value, and write records into a file? Answer: Yes, by using jutil, ctutil, and Gife utilities To... Read More

How to access files on a different server

Question: Can we run a program in server 1 and update the data to database sitting on server 2? Answer: Yes! If you are accessing an RDBM you can use the iscobol.jdbc.url property to point to the data server. For instance, your url to connect... Read More

What is 9l,10 error and why is it happening?

The problem is in these lines of your select statement: 100008 RECORD KEY IS FILE1-KEY 100009 ALTERNATE RECORD KEY IS FILE1-KEY, You have defined the alternate key to be the same as the primary key, and you're using a file handler... Read More

Results 1 - 10 of 17