Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Data Archive Reference

Dump the archive manager data file

  • Last UpdatedAug 15, 2024
  • 1 minute read

The archive manager data file contains the list of archive files currently known to the Data Archive server. When the server is shut down, use this to determine which archives will be available at startup.

  1. At a command prompt, go to the PI\adm directory.

  2. Type the following command:

    pidiag -ad path

    If you omit the path specification, the command displays the content of the file at the default location, PI\dat\piarstat.dat.

    C:\PI\adm>pidiag -ad
    Archive manager data file version is 1
    Archive primary archive code is 1
    Archive manager data file dump follows:
    PInt [$Workfile: pinttmpl.cxx $ $Revision: 13 $]::
    Table contains 3 entries, with 3 total slots allocated.
    Extend size is 2 slots and the next iCode is 4.
    1. C:\PI\dat\piarch.001
    2. C:\PI\dat\piarch.002
    3. C:\PI\dat\piarch.003
    Alphabetical index:
    C:\PI\dat\piarch.001
    C:\PI\dat\piarch.002
    C:\PI\dat\piarch.003
    PIobject:
    End of Dump

    You can use the pidiag-ad command in a procedure to repair the archive manager data file. For details, see Repair the archive manager data file.

    When PI Archive Subsystem is running, use the piartool -al command to get this information.

TitleResults for “How to create a CRG?”Also Available in