If you have an application that frequently adds or removes
table spaces, you can use the Wildcard field
to allow Db2 Automation Expertto
resolve the object list at job build time. You can use this feature
to avoid manually modifying the object profile whenever your application
adds an object.
About this task
The Wildcard field works with the
selection criteria that you specify in the Database Like, Tablespace
Like, and Creator Like fields on
the Enter Tablespaces Like to Display window.
If you set Wildcard to Y, the criteria is evaluated
at build time.
Procedure
On the Enter Tablespace Like to Display window,
enter a database, table space, or creator name or mask in the appropriate
fields and enter Y in the Wildcard field,
as showing in the following figure:
Press Enter to continue.
The window that
is shown in the following figure is displayed.
Specify how table space partitions are processed. To handle
all partitions (for example, equivalent to a REORG TABLESPACE), enter A in
the Explode field. To individually process
each partition (for example, equivalent to REORG TABLESPACE PART n),
enter P in the Explode field.
Press Enter.
The specified spaces are
added to the Update Object Profile Display and
a Y is entered in the Wildcard column.
What to do next
On the Update Object Profile Display,
you can enter the EXPLODE primary command or
the E line command to review the expanded list
of all table spaces and index spaces currently included in the profile.
For more information, see Updating an object profile.