To check the locks , we use cmd WRKOBJLCK , but how we
confirm whether it's objeck lock / member lock.
I confused with the Lock type and Status values...Can any
body please tell me ...
Answer Posted / syam
Better use WRKACTJOB, you can find anyone of user's status
shows WAIT, then otion 11 enter you will get which Object
locked then that wait object type 8 option to find the
record.
or
WRKOBJLCK Objname Libname *file(file type) then enter, you
will get list of all users using same object there you can
find WAIT status.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
what is kids-rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the difference between do while and do until?
what are the key words you must use when using a subfile?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is the procedure and explain about real time scenario.
What is the difference between iter and do?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How Chain operation copies the record's data to the input buffer for the program?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.