Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by lafalafa

  1. lafalafa

    Committed records after program abends

    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...
  2. lafalafa

    Committed records after program abends

    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...
  3. lafalafa

    Committed records after program abends

    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
  4. lafalafa

    How to release i/o PCB

    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...
  5. lafalafa

    How to release i/o PCB

    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...
  6. lafalafa

    How to release i/o PCB

    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...
  7. lafalafa

    Exact difference b/w approx and generic position modes in cobol

    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...
  8. lafalafa

    what is the lock limit on a file

    k thanku very much
  9. lafalafa

    what is the lock limit on a file

    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...
  10. lafalafa

    what is the lock limit on a file

    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...
  11. lafalafa

    what is the lock limit on a file

    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...
  12. lafalafa

    what is the lock limit on a file

    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...
  13. lafalafa

    what is the lock limit on a file

    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...
  14. lafalafa

    what is the lock limit on a file

    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...
  15. lafalafa

    what is the lock limit on a file

    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...

Part and Inventory Search

Back
Top