pdcheck



NAME

      pdcheck - check Product Definition file(s)


SYNOPSIS

      pdcheck [-t] [pd_file [product_root]]


DESCRIPTION

      The command pdcheck tests if the contents of the PD file and the
      product directory correspond. With qualifier -t, the command tests all
      PD files in subdirectories to pd_file. pdcheck lists file names in the
      PD file(s) that have no corresponding file in the product directory.
      It also lists the files in the product directory that are not defined
      or have several definitions in the PD file(s).
      Internally, pcopy is used to extract the contents of the PD file(s)
      without actually copying any files.

    PARAMETERS
      pd_file
           Product Definition file. If not specified, and the environment
           variable SDE_PD is undefined, the command prompts for the
           parameter.

      product_root
           Product root directory. If not specified, the environment
           variable PRODUCT_ROOT must be defined.

    OPTIONS
      -t   Search subdirectories to pdfile, to find all PD files. Option
           used with command pcopy.


EXTERNAL INFLUENCES

      The environment variable SDE_PD defines the PD file name.  The
      environment variable PRODUCT_ROOT defines the destination root
      directory.


EXAMPLES

      pdcheck /aut/km/ex_system/2.2-0/ex_prod.pd /ipa/products/ex_prod/2.2-0

      Note. In this example, the PD file specified as parameter 1 consists
      of include directives, so option -t should not be used.


SEE ALSO

      pcopy(1)


AUTHOR

      E Antonsson