.. _section3.3.2: 3.3.2 - Get Group Information ================================= .. _GG: Action Option -**GG** (-**GetGroup**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ retrieves group records for the specified dataset. Filter results by providing group indices, names, or a parent index. | **dsarch** [:ref:`-(DS|Dataset) `] dNNNNNN [-](GG|GetGroup) | [:ref:`-(FN|FieldNames) ` FieldNameString] | [:ref:`-(ON|OrderNames) ` OrderNameString] | [:ref:`-(GI|GroupIndex) ` GroupIndices] | [:ref:`-(GN|GroupName) ` GroupNames] | [:ref:`-(PI|ParentGroupIndex) ` ParentGroupIndices] | [:ref:`-(OF|OutputFile) ` OutputFileName] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available mode options: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(FO|FormatOutput) ` - formats each column to a uniform fixed width * - :ref:`-(RG|RecursiveGroup) ` - gathers subgroups recursively for a given group index * - :ref:`-(WN|WithFileNumber) ` - gathers and displays file counts for groups Use :ref:`-FN ` (-FieldNames) to specify which group fields to retrieve. Defaults to 'IGXTQSW'. Use :ref:`-FN ` ALL for all available fields. Valid group field names and their corresponding :ref:`Info options `: .. list-table:: :widths: auto :header-rows: 1 * - Names - :ref:`Info Options ` - Descriptions * - I - :ref:`-(GI|GroupIndex) ` - group indices * - G - :ref:`-(GN|GroupName) ` - group names, IDs * - X - :ref:`-(PI|ParentIndex) ` - parent group indices * - T - :ref:`-(TI|Title) ` - group titles * - R - :ref:`-(GT|GroupType) ` - group types * - P - :ref:`-(GP|GroupPattern) ` - common file name patterns for each group * - Q - :ref:`-(BF|BackupFlag) ` - Quasar Backup flags * - A - :ref:`-(DA|DataAccessFlag) ` - top group data file list access flags * - S - :ref:`-(SP|SavedPath) ` - path relative to saved home directory for groups * - W - :ref:`-(WP|WebPath) ` - path relative to web home directory for groups * - M - :ref:`-(ML|MetaLink) ` - a link to content meta at the group level * - D - :ref:`-(NW|NoteWeb) ` - group description of data on GDEX Server * - N - :ref:`-(NI|NoteInternal) ` - group description of internal HPSS data Results can be filtered by group index (:ref:`-GI `), name (:ref:`-GN `), or parent index (:ref:`-PI `). The :ref:`-GN ` option accepts the '%' wildcard. .. _3.3.2_e7: **EXAMPLE 7. To retrieve the default group fields and file counts for groups 1 and 2 of d260001:** | **dsarch** d260001 :ref:`GG ` :ref:`-WN ` -GI 1 2 Content of the output: .. code-block:: none Dataset<=>d260001 GroupIndex<:>GroupName<:>ParentIndex<:>Title<:>GroupPattern<:>BackupFlag<:>SavedPath<:>WebPath<:> 1<:>DAILY<:>0<:>DAILY OAFlux Products<:><:>P<:><:>daily<:> 2<:>MONTHLY<:>0<:>MONTHLY OAFlux Products<:><:>P<:><:>monthly<:> 2 group records retrieved d260001-G1: DS-11094192261 DC-327 WC-327 SS-8909173908 SC-51 d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51 | :ref:`Back to Top ` | :ref:`Back to Table of Contents `