In "APIs by Example: Working with IFS Object Locks" (September 2012, InstantDoc ID 699388), I discussed the options available for identifying jobs that are currently locking or accessing a specific object in the IFS. Likewise, you sometimes need to determine which IFS objects a specific job is locking or accessing. For objects in the QSYS.LIB file system, there are a couple of ways to accomplish this: Use either the Display Job (DSPJOB) or the Work with Job (WRKJOB) command and specify OPTION(~* JOBLCK) to display a list of QSYS.LIB objects currently locked by the job in question.
展开▼
机译:在“示例API:使用IFS对象锁”(2012年9月,InstantDoc ID 699388)中,我讨论了可用于标识当前正在锁定或访问IFS中特定对象的作业的选项。同样,有时您需要确定特定作业正在锁定或访问的IFS对象。对于QSYS.LIB文件系统中的对象,有两种方法可以完成此操作:使用“显示作业”(DSPJOB)或“使用作业”(WRKJOB)命令并指定OPTION(〜* JOBLCK)以显示以下内容的列表:当前由相关作业锁定的QSYS.LIB对象。
展开▼