PMDF popstore & MessageStore Manager's Guide


Previous Next Contents Index


test

Test optional, site-supplied subroutines to verify that they load and function correctly.

Syntax

test -block_days image-spec starting-time ending-time size remainder

test -connect image-spec starting-time ending-time

test -message_mapping image-spec

test -paths path-file-spec

test -profile_mapping image-spec

Command Switches
-block_days
-connect
-message_mapping
-paths
-profile_mapping

Parameters

image-spec

File specification for the shared image containing the subroutine to test.

starting-time

Starting time value to pass to the compute_connect or compute_block_days subroutine.

ending-time

Ending time value to pass to the compute_connect or compute_block_days subroutine.

size

Size value to pass to the compute_block_days subroutine.

remainder

Remainder value to pass to the compute_block_days subroutine.

path-file-spec

File specification for the file of directory paths to check.

Description

The test command provides a mechanism to test site-supplied subroutines intended for use with the popstore. The purpose and usage of those subroutines is described in Chapter 14. The test -message_mapping and test -profile_mapping commands test, respectively, map_message_filename and map_profile_filename subroutines. The command will load the subroutine from the specified image and then, for each stored message or profile file, run the filename through the subroutine. The input and output file names for each file will be displayed along with diagnostic information, should an error occur. The test -connect and test -block_days commands test, respectively, the compute_connect and compute_block_days subroutines. With each command, you can specify the values of the input arguments to be passed to those subroutines. The results produced by the subroutine will then be displayed. Should an error occur, diagnostic information will be displayed. Text files intended for use as a /pmdf/table/popstore_message_paths or /pmdf/table/popstore_profiles_paths file can be tested with the test -paths command. The command will scan the directory trees listed in the specified file, displaying the files found in each directory.

Command Switches

-block_days

Test the compute_block_days subroutine from the shared image image-spec.

-connect

Test the compute_connect subroutine from the shared image image-spec.

-message_mapping

Test the map_message_filename subroutine from the shared image image-spec.

-profile_mapping

Test the map_profile_filename subroutine from the shared image image-spec.

-paths

List the files from the directory trees specified in the path file path-file-spec.


Previous Next Contents Index