.. _section3.3.3: 3.3.3 - Delete Group Information ================================= .. _DG: Action Option -**DG** (-**DeleteGroup**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ removes one or more group records from GDEXDB for the specified dataset. | **dsarch** [:ref:`-(DS|Dataset) `] dNNNNNN [-](DG|DeleteGroup) [:ref:`Mode Options `] | :ref:`-(GI|GroupIndex) ` GroupIndices | [:ref:`-(LN|LoginName) ` LoginAccountName] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available mode options: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(MD|MyDataset) ` - allows any specialist to set GDEXDB information, regardless of dataset ownership * - :ref:`-(NT|NoTrim) ` - skips trimming of spaces and comments from input values, speeding up input file processing * - :ref:`-(RT|ResetTGroup) ` - resets the top group index for file records in the affected group * - :ref:`-(WN|WithFileNumber) ` - re-evaluates and resets file counts for the affected groups Specify groups by index via :ref:`-GI ` and the dataset via :ref:`-DS `. Deletion is blocked if a group still contains subgroups or data files. To delete a non-empty group, first retrieve its files with :ref:`-GS ` (-GetSavedFile) or :ref:`-GW ` (-GetWebFile), then either move them to another group via :ref:`-CG ` (-ChangeGroup), reset their group index to 0, or remove them with :ref:`-DL
` (-Delete). Once empty, the group can be deleted. .. _3.3.3_e8: **EXAMPLE 8. To delete group indices 2 and 3 of d744004:** | **dsarch** d744004 :ref:`DG ` :ref:`-GI ` 2 3 | :ref:`Back to Top ` | :ref:`Back to Table of Contents `