Example: The steps to delete QSAMPLE library
××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

1# Use the Work with System Value (WRKSYSVAL) command to remove QSAMPLE from the system value(QUSERLIBL or QSYSLIBL) it is contained in. (The changed system value does not affect the library list of any jobs running.)


1. Enter WRKSYSVAL QUSRLIBL at the i5/OS command line.
2. Press Enter and select option number 2.
3. Remove the QSAMPLE library from the list.


2# Use the Remove Library List Entry (RMVLIBLE) command to remove QSAMPLE from the job's library list.

1. Enter RMVLIBLE QSAMPLE at the i5/OS command line.


3# Use the Work with Object Lock (WRKOBJLCK) command to remove locks on QSAMPLE library if any.

1. Enter WRKOBJLCK OBJ(QSYS/QSAMPLE) OBJTYPE(*LIB) at the i5/OS command line.
2. Remove object locks on QSAMPLE library.


4# Use the Delete Library (DLTLIB) command to delete the library and the objects in the library.

1. Enter DLTLIB QSAMPLE at the i5/OS command line.

××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

The information are mainly refered from IBM infocenter for iSeries.



版权所有 罗明
posted on 2010-02-26 16:50 罗明 阅读(1811) 评论(2)  编辑  收藏 所属分类: Study
Comments
  • # re: 在AS/400里删除某一个library的步骤
    完美
    Posted @ 2010-06-07 15:30
    很好,很实用 那LD_LIBRARY怎么处理呢  回复  更多评论   
  • # re: 在AS/400里删除某一个library的步骤[未登录]
    罗明
    Posted @ 2010-06-12 09:59
    @完美
    LD_LIBRARY是啥library?  回复  更多评论   

只有注册用户登录后才能发表评论。


网站导航: