Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Record Locking in Visual Cobol

$
0
0

The conversion tool for RM/COBOL to Visual COBOL provides a directives file legacy_dialect.dir that removes the IGNORE keyword from the language.  This is because IGNORE is not an RM/COBOL reserved word.  The RM/COBOL program may have used IGNORE as a user-defined word and errors would happen if it was a reserved word.  Assuming your particular programs do not use IGNORE as a user-defined word, edit the legacy_dialect.dir file to comment out the "remove(ignore)" line by changing it to "& remove(ignore)".  Then there should be no problem with a READ statement that specifies the "WITH IGNORE LOCK".  If specifying NO LOCK is not sufficient for Visual COBOL to read through locks, then the IGNORE LOCK option is your best alternative.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>