Dump the archive manager data file
- Last UpdatedAug 15, 2024
- 1 minute read
- PI System
- PI Server
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.
-
At a command prompt, go to the PI\adm directory.
-
Type the following command:
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 DumpYou 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.