3.3.2 - Get Group Information

      Action Option -GG (-GetGroup) :

      retrieves group information for a given dataset. Information of specified groups are retrieved if the group indices or names are provided.

      dsarch[-(DS|Dataset] dsnnn.n [-](GG|GetGroup)
        [-(FN|FieldNames) FieldNameString]
        [-(ON|OrderNames) OrderNameString]
        [-(GI|GroupIndex) GroupIndices]
        [-(GN|GroupName) GroupNames]
        [-(PI|ParentGroupIndex) ParentGroupIndices]
        [(-OF|-OutputFile) OutputFileName]
        [-(DB|Debug) DebugModeInfo]

      Mode options that can be specified for getting group action:

      Use Info option -FN (-FieldNames) to specify what group fields to retrieve. It defaults to 'IGXTQSW' if option -FN is not provided. Information of all available fields is retrieved if -FN ALL is given.

      Valid group field names and their corresponding Info options:

      -(RG|REcursiveGroup)gather subgroups recursively for given group index
      -(WN|WithFileNumber)gathers and displays HPSS/Web file counts for groups
      -(WN|WithFileNumber)gathers and displays HPSS/Web file counts for groups
      NamesInfo OptionsDescriptions
      I-(GI|GroupIndex)group indices
      G-(GN|GroupName)group names, IDs
      X-(PI|ParentIndex)parent group indices
      T-(TI|Title)group titles
      R-(GT|GroupType)group types
      P-(GP|GroupPattern)common file name patterns for each group
      Q-(BF|BackupFlag)Quasar Backup flags
      S-(SP|SavedPath)path relative to saved home directory for groups
      W-(WP|WebPath)path relative to web home directory for groups
      A-(ML|MetaLink)a link to content meta at the group level
      D-(NW|NoteWeb)group description of data on RDA Server
      N-(NI|NoteInternal)group description of internal HPSS data

      Group information can be retrieved for specified groups per option -GI (-GroupIndex) or -GN (-GroupName), or per option -PI (-ParentIndex). Info option -GN accepts wildcard input of '%' for matching any number of characters.


      EXAMPLE 7.

      Get The Group Information Of Ds260.1 For Default Fields And the file counts for groups 1 and 2

      dsarch260.1 GG -WN -GI 1 2

      Content of the output:

      Dataset<=>ds260.1
      GroupIndex<:>GroupName<:>ParentIndex<:>Title<:>GroupPattern<:>BackupFlag<:>SavedPath<:>WebPath<:>
      1<:>DAILY<:>0<:>DAILY OAFlux Products<:><:>P<:><:>daily<:>
      2<:>MONTHLY<:>0<:>MONTHLY OAFlux Products<:><:>P<:><:>monthly<:>



      Back to Top