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

RE: file locked microfocus cobol

$
0
0

Ran through google translate:

"I would like to know how to handle files with conventional microfocus cobol2.1 I had quite a problem in reading and writing files on locked file or record locked knowing that the application is based on sharing files between various users and it worked perfectly with the old compiler"

What is the specific problem that you are experiencing?

Multiuser record locking on files is controlled either through options specified in the SELECT statement for your file such as:

LOCK MODE MANUAL/AUTOMATIC

or

SHARING WITH ALL OTHER/NO OTHER

or with compiler directives like:

AUTOLOCK
DETECTLOCK
RETRYLOCK

or in the file handler configuration file extfh.cfg

IGNORELOCK
OPENINPUTSHARED
RETRYLOCK
RETRYOPEN
RUNITLOCKDETECT
SKIPLOCK

Which options you should set depend on the behavior that you wish to achieve.

If your behavior is now different than in a previous product version then perhaps you were previously setting one of these compiler directives or you were using a extfh.cfg file and you are no longer doing so.

Please check your old product setup and make sure that you are using identical directives and configuration options.

Thanks.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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