Syntax for Archive Directory Maintenance

Use the following syntax for Archive Directory Maintenance.

Commands use the following structure. Enter the command and all parameters on a single line.

PR0CMND /ARCMAINT 
   OPERATION={ REGISTER | UNREGISTER | UPDATE | VALIDATE |
           AUTODELETE_{SUSPEND|RESUME|STATUS}|
           EXPORTSF securefilename password} 
   [ OUTPUT=filename[ + ] ] [ PST=optimdirectory] 

Parameters

You can enter parameters with the command on the command line, or you can enter these parameters into a text file (called a parameter file).

A parameter file can be reused whenever you need to run a task. You can also generate a parameter file programmatically, which allows you to automate processes.

You can enter parameters for more than one process into a parameter file. This allows you to run multiple processes by entering a single command on the command line. Enter the parameters for each process on a separate line of the parameter file.

Registration Process

      AFFILE=[ “ ]arc file name.af[ ” ] 
      [ SERVER={ arcservername | (local) } ] 
      [ COLLECTION="col1 [,col2,col3,...]"]
      [ SFFILE=securityfilename.sf PASSWORD=password]
      [ GROUP={ groupidentifier | NONE } ] 
      [ DESC={ description | NONE } ]
      [ AFXFILE={ [ “ ]idx file name.afx[ ” ] | NONE } ]  
      [ PROFILE={ storeprofilename | NONE }
              [ CalculateFrom={ CurrentDate | ArchiveDate | yyyy/mm/dd}]]
      [ OVERWRITE{ + | – } ]

Remove Registration Process

      { AFFILE=[ “ ]arc file name.af[ ” ] 
            [ SERVER={ arcservername | (local) } ] | 
               n  | GUID=n } 
        [ DELETEFILE { + | – } ]

Update Process

      { AFFILE=[ “ ]arc file name.af[ ” ] 
         [ SERVER={ arcservername | (local) } ] | 
            AFID=n  | GUID=n } 
         [ COLLECTION="col1 [,col2,col3,...]"]
         [ GROUP={ groupidentifier | NONE }] 
         [ DESC={ description | NONE } ]
         [ PROFILE={ profilename | NONE } 
                 [ CalculateFrom= { CurrentDate | ArchiveDate | yyyy/mm/dd } ] 
                 [ SEARCH={CollectionName | GroupName | ProfileName } ]]
        [ DUPLICATE= [ “ ]arc file name.af[ ” ] | 
            REPLACEPRIMARY{ + | - } | 
            REMOVEDUPLICATE{ + | - } |
             SWAP{ + | - } ]  }

Index Validation Process

      { AFFILE=[ “ ]arc file name.af[ ” ] 
            [ SERVER={ arcservername | (local) } ] | 
      [ GROUP={ groupidentifier | NONE } ] 
      

Export Security File Process

      AFFILE=arc file name.af ["]
      [SERVER={arcservername | (local)}]
      PASSWORD=password
      [DUPLICATE]
      SFFILE="securityfilename.sf"


Feedback