comp.sys.ibm.as400.misc - IBM AS/400 miscellaneous topics.
"The List Object Locks (QWCLOBJL) API generates a list of lock information about a specific object or database file member and places the list into the specified user space." One of the items returned in the lock state. The V5R2 documentation says: "Lock state. The lock condition for the lock request. The possible values are: *NONE No lock exists. *SHRRD Lock shared for read. *SHRUPD Lock shared for update. *SHRNUP Lock shared no update. *EXCLRD Lock exclusive allow read. *EXCL Lock exclusive no read. Can anyone explain under what circumstances I might get back *NONE? Thanks, Sam
Our "EX" IS manager changed the signon screen to something ridiculous and we need to change it back to the default. The original screen is QSYS/QDSIGNON but the new one is in QGPL/QDSIGNON. The object is locked by some system jobs though, so I cannot rename the current one to make the QSYS one be the primary. Is there a library higher up than QGPL at signon that I could put a new member into, or is there a way to add a new library into the initial library list so that the old QDSIGNON is not displayed? That way, after our weekly IPL I would hope to not have any locks on this member any more. Thanks in advance...
Hi, we use V5R2M0. we should end jobs, which locks objects. If i make an WRKOBJLCK, i see the jobs which locks the object, but i must manually end these jobs. I can put the result of the WRKOBJLCK in a Print-File and put this printfile in an physical file. Now i can read this file and end the jobs. But at the next Release of the iSeries, it can happended, that IBM change the output in this printerfile. (other fields etc.) Any other ideas, how can i end these jobs ? Best Regards Christian
The field ODOBSZ is deprecated. The description of ODOBSZ, as seen in the request to DSPFFD QSYS/QADSPOBJ suggests to use instead, the following expression to calculate object size: ODSIZU*ODBPUN Karl wrote: <<SNIP>> > Off topic, but useful, to be able to see all objects by size in > descending order, do this: > SELECT ODLBNM,ODOBNM,ODOBTP,ODOBSZ,ODOBTX FROM QGPL/DSPOBJD ORDER BY 4 DESC