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 ...
Answers were Sorted based on User's Feedback
Answer / naveen chandra joshi
Please make sure that your question is correct !!
If any object is locked then by default its member will
also be locked.
I dont think there is any way to find out whether a member
is also locked or not...
As per my understanding, WRKOBJLCK is sufficient.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / sj
Do WRKOBJLCK then press F6 you will get Lock Type(MBR, DATA)
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / mohdmuzammil
Do WRKOBJLCK and then press it will show the file locks.
after that press F6 you will get the member lock
information.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
How to set on/off a group of indicators in a single statement?
What is journalling and commitment control?
One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
can you debug ile rpg program using isdb?
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
What is the name of default out queue when user logs inn to syatem with valid profile?
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
Can more than one subfile record be displayed on one line?