This example shows you how to delete resources from a development library. This script removes all FAP resources in the development library (master.lby) which have a status of Failed.
If you run the utility with these parameters:
C:\fap\dll\dms1dm>lbyproc /i=deflib\del1.lsc
You will get this output from the utility:
--- LBYPROC Copyright (C) 1997, 2009 Oracle. All rights reserved.
--- Documaker library script processor
DELETE Successful. Name<Q1ADDR> Type<FAP> Ver<00001> Rev<00001> Note<Normal Deletion>
DELETE Successful. Name<Q1AFLG> Type<FAP> Ver<00001> Rev<00001> Note<Normal Deletion>
DELETE Successful. Name<Q1B302> Type<FAP> Ver<00001> Rev<00001> Note<Normal Deletion>
. . .
DELETE Successful. Name<Q1TILE> Type<FAP> Ver<00001> Rev<00001> Note<Normal Deletion>
DELETE Successful. Name<Q1VRFL> Type<FAP> Ver<00001> Rev<00001> Note<Normal Deletion>
Delete performed. The following number of objects were
deleted from the library.
LIBRARY: DEFLIB\MASTER.LBY
BDFs : 0
GRPs : 0
FORs : 0
FAPs : 81
DDTs : 0
LOGs : 0
DALs : 0
XDDs : 0
-------------
Total: 81
--- LBYPROC Complete ---
Here are the contents of the del1.lsc file, which contains the DELETE script:
<LBYSCRIPT>
<DELETE>
<LIBRARY VALUE="DEFLIB\MASTER.LBY"/>
<NAME VALUE=""/>
<TYPE VALUE=""/>
<VERSION VALUE=""/>
<REVISON VALUE=""/>
<MODE VALUE=""/>
<STATUS VALUE="FAILED"/>
<CLASS VALUE=""/>
<PROJECT VALUE=""/>
</DELETE>
</LBYSCRIPT>
© Copyright 2013, Oracle and/or its affiliates. All rights reserved. Legal notices.