Administration and Programming Guide for OS/390
Net.Data automatically manages cached Web pages
and the LOBs they reference using expiration times. Net.Data
also offers more advanced styles of management through a
Net.Data-provided macro, manage_cache.dtw. With this
macro, you can:
- Delete expired dynamic Web pages and LOBs that have been cached.
- Delete cached Web pages and related LOB files based on HTML block and
creation time criteria, as well as delete all expired objects that have been
cached.
- Delete LOB files from HFS and related Web pages based on creation time
criteria, as well as delete all expired objects that have been cached.
To begin the macro, invoke the BEGIN HTML block of the
manage_cache.dtw located in the directory
/usr/lpp/netdata/macros. To learn more about how to invoke a
macro, see Invoking Net.Data.
To delete expired dynamic Web pages and large objects that have been
cached:
- Invoke the BEGIN HTML block of the manage_cache.dtw macro.
- Click the Delete dynamic Web pages and large object files that have
expired choice.
- Click the EXECUTE push button to proceed, or select Back
to the beginning to return to the main page and cancel your
request.
To delete cached Web pages and related LOB files:
- Invoke the BEGIN HTML block of the manage_cache.dtw macro.
- Click on the Delete selected dynamic Web pages and related large
object files choice.
This choice lets you specify a filter and timestamp values for the cached
Web pages you want to delete. All expired cached Web pages and LOBs as
well as all LOBs referenced by the Web pages are deleted.
- Optionally type a string in the Enter the ACTUAL_KEY filter
field that matches any part of the ACTUAL_KEY for the Web pages to be
deleted. This string acts as filter for selecting the cached Web pages
Net.Data deletes. The string can contain up to 250
characters.
For example, when the following string is entered:
/netdata/macros/my_macro.d2w/report
Net.Data deletes all cached Web pages that have an
ACTUAL_KEY value containing this string. For a detailed
description of ACTUAL_KEY, refer to Table 3.
- Optionally click on the Starting CREATION_TIME check box and
enter a timestamp value. Net.Data deletes all cached Web pages
that have creation times greater than or equal to this timestamp value, and
that have creation times less than or equal to the Ending
CREATION_TIME, if specified. If no Ending
CREATION_TIME value is specified, than Net.Data deletes all
cached Web pages that have creation times greater than or equal to the
Starting CREATION_TIME value.
For example, when the following timestamp is entered:
Starting CREATION_TIME:
Year 1999 Month 03 Day 23 Hour 14 Minute 00 Second 00
Net.Data deletes all cached Web pages that were created on March
23, 1999 at 2:00 PM or later, up to and including the value of
Ending CREATION_TIME, if specified.
- Optionally click on the Ending CREATION_TIME check box and
enter a timestamp value. Net.Data deletes all cached Web pages
that have creation times less than or equal to this timestamp value, and that
have creation times greater than or equal to the Starting
CREATION_TIME, if specified. If no Starting
CREATION_TIME value is specified, than Net.Data deletes all
cached Web pages that have creation times less than or equal to the
Ending CREATION_TIME value.
For example, when the following timestamp is entered:
Ending CREATION_TIME:
Year 1999 Month 03 Day 23 Hour 23 Minute 59 Second 59
Net.Data deletes all cached Web pages that were created on March
23, 1999 at 11:59:59 PM or earlier, starting with the value of
Starting CREATION_TIME, if specified.
If the Enter the ACTUAL_KEY filter field is empty and neither
of the check boxes are checked, Net.Data deletes only expired cached
Web pages and LOBs.
- Click the EXECUTE push button to proceed, or select Back
to the beginning to return to the main page and cancel your
request.
To delete large objects in HFS and related Web pages
- Invoke the BEGIN HTML block of the manage_cache.dtw macro.
- Click on the Delete selected large object files and related dynamic
Web pages choice.
This choice lets you specify timestamp values for the LOBs you want to
delete. All expired Web pages and LOBs as well as all Web pages
referenced by LOBs are deleted.
- Optionally click on the Starting CREATION_TIME check box and
enter a timestamp value. Net.Data deletes all LOB files that
have creation times greater than or equal to this timestamp value, and that
have creation times less than or equal to the Ending CREATION_TIME,
if specified. If no Ending CREATION_TIME value is specified,
than Net.Data deletes all LOB files that have creation times greater
than or equal to the Starting CREATION_TIME value.
For example, when the following timestamp is entered:
Starting CREATION_TIME:
Year 1999 Month 03 Day 23 Hour 14 Minute 00 Second 00
Net.Data deletes all LOBs that were created on March 23, 1999 at
2:00 PM or later, up to and including the value of Ending
CREATION_TIME, if specified.
- Optionally click on the Ending CREATION_TIME check box and
enter a timestamp value. Net.Data deletes all LOB files that
have creation times less than or equal to this timestamp value, and that have
creation times greater than or equal to the Starting CREATION_TIME,
if specified. If no Starting CREATION_TIME value is
specified, then Net.Data deletes all LOB files that have creation times
less than or equal to the Ending CREATION_TIME value.
For example, when the following timestamp is entered:
Ending CREATION_TIME:
Year 1999 Month 03 Day 23 Hour 23 Minute 59 Second 59
Net.Data deletes all LOB files that were created on March 23, 1999
at 11:59:59 PM or earlier, starting with the value of
Starting CREATION_TIME, if specified.
If the neither of the check boxes are checked, Net.Data deletes
only expired LOB files and cached Web pages.
- Click the EXECUTE push button to proceed, or select Back
to the beginning to return to the main page and cancel your
request.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]