Great solution.
Thank you very much.
We are not using DB2,ours is file system.So we cant use commit command.
After processing 1000 records if we close the file then record locks will be released.Then open the file again and process the remaining 1000 records.
Is my understanding correct?
Can...
Thanks for the reply.
In my cobol program when i was trying to update 2000 records(in record lock mode) i faced an issue saying that max number of locks have been performed(though i give unlock for each record).
So i resolved this issue by locking the entire file.But user dint accept the...
Hi everyone,
I would like to know will the records (which have been committed in the previous commit control)be rolled back when the program abends in the current commit control?
Thanks in advance
Thanks for your valuable suggestion.
We are not using any database.
We are sure that there is some limit on locking for a single process.How to increase that limit is the question.
We are doubtful on whether we have to change any Operating system properties or in some other way.
One solution...
we used unlock verb,even then i got the error.We resolved the problem by using "filelock" instead of "recordlock".But filelock is not advisable.So can you please suggest me how i can proceed further?
the code we used is:
READ NETDFILE WITH LOCK KEY IS PRIMARY-ID OF NETD-REC
........some move...
Hi I would like to say thanks for the suggestion you are going to give me.
when i read an i/o file in lock mode for more than 1661 times,i got an error at 1662nd read.The description of the error is:
"All I/O process control blocks are in use, or a requester tried to acquire too many record...
Hi,
What is the exact difference between approximate and generic position modes?
Can you please explain me in detail?
As far as our knowledge is conserned when we pass an alternate key
Approximate mode:It gives from the starting record(which has the alt-key)to the record which is at the...
Hi finally we could resolve the problem by file locking instead of record locking.
As file locking is not advisable we are trying to achieve the same using record locking.
After processing 1600 records we are calling the same process for the processing of remaining records.Because we found...
Thanks for ur suggestion.
I ll tey to find the reason.
The error which i got is::
35 - Unable to obtain an I/O process control block, or the transaction or open lock unit
limit has been reached.
Cause. All I/O process control blocks are in use, or a requester tried to acquire too many...
Thanks for the response u ve given.
Ya my manager suggested that after 1000 records have been processed successfully close the file and open it.we tried that also but got the same error.
Currently code is doing record lock for every record while reading and after rewriting the record it is...
Thanks for ur valuable answer......today we found that guardian environment in which we are running the program stops the process as it exeeds the lock limit...it is stating that "unable to obtain i/o processing control block...the transaction or open lock unit limit has been reached"....
In...
yaa today i could find that it is processing 1661 deals successfully and when it comes to 1662nd deal it got abended.file is a key-sequenced file.so iam thinking like lock limit may be 1661.....iam eagerly waiting for ur suggestion.....can u provide the way to resolve this problem and how can we...
I donno the level but we are running cobol85 compiler in tandem d45 operating system.OS is not linux or unix it is entirely different one known as "Himalaya k series guardian operating system".Give the possible limits for diff level of cobol.i could be successful when dealing with 1000 deals but...
ThIS IS THE PROC WHERE THE MENTIONED LOGIC EXISTS.THIS PROCEDURE IS BEING CALLED FOR EVERY RECORD WHICH HAS TO BE UPDATED.THER ARE TOTALLY 2000 RECORDS TO BE UPDATED.
***********************************************************
F310-UPDATE-NETD SECTION.
*-------------------------*
BEGIN-SECT...
This is a run time error.We are using TANDEM application server,non-stop kernel Operating System,we use different environments for different functions.Currently iam dealing an online function for which code has been written in cobol.i already mentioned about the logic where i got the error.when...
I got an error stating that open lock limit has been reached.currently iam using a code which has the logic
perform until x > 1980
add 1 to x
read netd-file with lock key is .....
move some values to the fields of netd-rec
rewrite netd-file with unlock.
end-perform.
i got lock limit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.