what is meant by object lock requests,held locks and locks
waiting to be applied(wrkobjlck)
why should we apply for locks.Please explain sir.
Answers were Sorted based on User's Feedback
whn we r updating the record we provide lock for no one use at that time...........
we hav 2 types of locks
.....>exclusive lock & shared lock
to unlock
use relrsc(reclime resourse)
| Is This Answer Correct ? | 2 Yes | 1 No |
suppose we want to make any update on particular file A and during my process one more guy doing another updation on that file A ....so what happen that who ever make the last updation and compile the file will take place ....so what we do we hold that particular object and lock it ....so during the time when we are using that file no one will access that file ........ok ....and updation will take place step by step
| Is This Answer Correct ? | 1 Yes | 0 No |
how many triggers can be associated with a file?
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
how many levels are there in a physical file?
What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?
which cl command is used to trap error messages during program execution?
what does the ovrdbf command do?
Show 2 ways to convert a date from YYMMDD to MMDDYY (MULT operation not acceptable)
Can be OVRDBF command mentioned after OPNQRYF command in CL?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
what is cab?