3.4.3 - Set Web File Information

      Action Option -SW (-SetWebFile) (Aliass: -SetWeb) :

      creates and modifies information of files on RDA Server in RDADB for a given dataset. One or multiple files can be processed each time.

      dsarch[-(DS|Dataset)] dsnnn.n -(SW|SetWebFile) [Mode Options]
        [-(WF|WebFile) webFileNames]
        [-(ON|OrderNames) OrderNameString]
        [-(OB|OrderBy) OrderByPattern]
        [-(GI|GroupIndex) GroupIndices]
        [-(GN|GroupName) GroupNames]
        [-(TG|TopGroupIndex) TopGroupIndices]
        [-(PO|PatternOffset) PatternStringOffset]
        [-(WT|WebFileType) WebFileTypes]
        [-(LC|Location) StorageLocationFlags]
        [-(FS|FileStatus) WebFileStatus]
        [-(DF|DataFormat) DataFormats]
        [-(AF|ArchiveFormat) FileArchiveFormats]
        [-(DO|DisplayOrder] DisplayOrderIndices]
        [-(SZ|Size) FileSizes]
        [-(MC|MD5Checksum) MD5ChecksumValues]
        [-(FD|FileDate) DateModified]
        [-(FT|FileTime) TimeModified]
        [-(ML|MetaLink) MetadataLinks]
        [-(TL|ThreddLink) ThreddCatalogLinks]
        [-(DE|Description] WebFileDescriptions]
        [-(LN|LoginName) LoginAccountName]
        [-(AL|AsyncLimit) AsyncProcessLimit]
        [-(QS|QsubOptions) PBSBatchOptions]
        [-(BP|BatchProcess) [BatchControlInfo]]
        [-(DB|Debug) DebugModeInfo]

      Mode options that can be specified for setting Web file action:

      Web file names must be provided per option -WF (-WebFile) for this action to work, unless Info Option -ON (-OrderNames) is provided to reorder Web files of specified dataset and groups. The number of values passed in following Info options should match the number of file names given per option -WF, except for options related to dataset information and the Info options that are allowed to pass in single values, such as -GI (-GroupIndex), -AF (-ArchiveFormat), -DF (-DataFormat), and -WT (-WebFileType). If a single group index is provided for multiple Web file names, the index value is shared by all the given files on RDA Server.

      Pattern matching is used for identify a group index for a given Web file if group index is not given explicitly and Info option -PO (-PatternOffset) if present. The Web file name is matched against group pattern values that are previously saved in group records via Action -SG (-SetGroup).

      The web file status can be set to either P (public) or I (internal) for data type D (data), N (ncar data), O (document) and S (software). For a Web file is set to be under an Internal group, its status is automatically forced to I.

      If a Web file is set to be under an Internal group, its status is forced to I.



      Back to Top
      -(DX|DeleteXML)if present, calling 'dcm' to delete file content metadata
      -(EM|EMailNotice)sends email for summary and errors for this action
      -(GX|GatherXML)evaluates file content metadata by calling 'gatherxml'
      -(MD|MyDataset)overrides the default specialist and enables RDADB
      -(NE|NoEmail)does not send email to the specialist for failed action
      -(NT|NoTrim)skip trimming of spaces and comments from input
      -(RD|RemoveDir)removes empty web directories
      -(RO|ResetOrder)resets the ordering indices of the list of file names
      -(RS|GXRSOptions)works with option -GX (-GatherXML) to speed up gatherxml
      -(SC|SetChecksum)evaluates the md5 checksum values for data files on
      -(SC|SetChecksum)evaluates the md5 checksum values for data files on RDA Server and saves them into RDADB