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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4198


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


How to declare the pull button in AS/400..

1870


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.

2270


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2365






Interviewer asked me write down DDS for load all subfile .can anybody write dds

1011


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

2003


can I touch the array during treatments?

750


is this a rpg channel?

669


what are the key words you must use when using a subfile?

684


how can you display specific subfile page on the screen in unequal subfile?

671


what is *place and *auto keyword in prtf ?plz explain

2718


what is program status data structure?

1368


what is the procedure and explain about real time scenario.

1473


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496