Result
Boolean- True if the command is successful.
ASObjLockCollection
Variable of type ASObjLockCollection which will contain the results. ASObjLock collection.
Connection
Connection – name of the AS400 Connection.
ObjectName
String - Name of the object for which locks will be fetched.
LibraryName
String - Name of the library containing the object for which locks will be searched.
It is possible to use the value *LIBL or *CURLIB.
ObjectType
String – Type of the object whose locks are being searched. Example: *FILE, *LIBL or *MSGQ..
See Appendix for a complete list of usable types.
MemberName
String – If applicable, put the name of the member whose locks are being sought.
Possible values:
*ALL, *FIRST, *NONE or the member’s name if ObjectType=*FILE.
*NONE for other types.
[Optional] if this parameter is not specified then the default value used is *NONE.
objPathName
String – [Optional] Physical path of the object whose specific locks are to be known.
If used the object name (ObjectName) must be *OBJPATH, the member’s name (MemberName) to *NONE and the library (LibraryName) and the type (ObjectType) empty.
objASPName
String – [Optional] Name of the ASP (Auxiliary Storage Pool) where to find the object.
If used: must be * if LibraryName=*LIBL or *CURLIB or if ObjectName=*OBJPATH.
If the object is a library or an
ASP or if *SYSBAS is specified, the library must be QSYS.