You are here: Available Utilities > L > LBYPROC > Deleting Resources

Deleting Resources

The LBYPROC utility lets you delete resources based on their status. Here are some examples of how you can delete resources.

This table defines the XML tags used in the following Deleting Resources Example:

XML tag

Description

LIBRARY

Enter the name of the library to which you want to delete resources. Here is an example:

<LIBRARY VALUE="DEFLIB\MASTER.LBY"/>

NAME

Enter the name of the file, without the extension or path. You can include asterisks (*) as wildcards. Here is an example:

<NAME VALUE="Q1ADDR"/>

The default is "" which deletes all files in the library you specified.

TYPE

 

Enter the file extension to indicate the type of files you want to delete, such as FAP or LOG. You can include asterisks (*) as wildcards.

Here is an example:

<TYPE VALUE="FAP"/>

The default is "" which adds deletes all types of files in the library you specified.

EFFDATE

Enter the effective date you want the resources that will be deleted to have.

Here is an example which shows an effective date of January 1, 2011

<EFFDATE VALUE="20110101"/>

VERSION

Enter the version number you want the resources that will be deleted to have.

Here is an example:

<VERSION VALUE="00001"/>

REVISION

Enter the revision number you want the resources that will be deleted to have. Here is an example:

<REVISION VALUE="00001"/>

MODE *

Enter the mode you want the resources that will be deleted to have or enter "" for any mode. You can also use this tag to enter descriptive text about the resource. Here is an example:

<MODE VALUE=""/>

STATUS *

Enter the status you want the resources that will be deleted to have or enter "" for any status. You can also use this tag to enter descriptive text about the resource. Here is an example:

<STATUS VALUE="Failed"/>

CLASS *

Enter the class you want the resources that will be deleted to have or enter "" for any class. You can also use this tag to enter descriptive text about the resource. Here is an example:

<CLASS VALUE=""/>

PROJECT *

Enter the project you want the resources that will be deleted to have or enter "" for any project. You can also use this tag to enter descriptive text about the resource. Here is an example:

<PROJECT VALUE=""/>

* You define modes, statuses, classes, and projects when you check in a resource using Documaker Studio. See the Documaker Studio User Guide for more information.