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.
版权所有 罗明