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 locks or file locks. This message is returned for a privileged operating system call."
What iam thinking is if we release those used process control blocks(PCB) without ending the process then problem is resolved.
Can you please suggest me whether my approach is correct or not?
If correct can you tell me how to release PCB?
Can you please teach me more on PCB?
The read statement i used is
"READ NETDFILE WITH LOCK KEY IS PRIMARY-ID OF NETD-REC"
This read operation was performed in a loop which iterates for 2000 times.
Thanks,
Lafalafa
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 locks or file locks. This message is returned for a privileged operating system call."
What iam thinking is if we release those used process control blocks(PCB) without ending the process then problem is resolved.
Can you please suggest me whether my approach is correct or not?
If correct can you tell me how to release PCB?
Can you please teach me more on PCB?
The read statement i used is
"READ NETDFILE WITH LOCK KEY IS PRIMARY-ID OF NETD-REC"
This read operation was performed in a loop which iterates for 2000 times.
Thanks,
Lafalafa