.. _section3.3.4: 3.3.4 - Change Group Information ================================= .. _CG: Action Option -**CG** (-**ChangeGroup**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ renumbers group indices for the specified dataset, mapping each original index (via :ref:`-OG `) to a new value (via :ref:`-GI `). | **dsarch** [:ref:`-(DS|dataset) `] dNNNNNN [-](CG|ChangeGroup) [:ref:`Mode Options `] | :ref:`-(OG|OriginGroup) ` OriginalGroupIndices | :ref:`-(GI|GroupIndex) ` NewGroupIndices | [: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 Both :ref:`-OG ` (-OriginGroup) and :ref:`-GI ` (-GroupIndex) are required. All Saved and Web file records linked to the original indices are updated to the new values. The original indices must already exist in GDEXDB. .. _3.3.4_e9: **EXAMPLE 9. To reassign group indices 1 and 2 to 2 and 3 for d744004:** | **dsarch** d744004 :ref:`CG ` :ref:`-OG ` 1 2 :ref:`-GI ` 2 3 | :ref:`Back to Top ` | :ref:`Back to Table of Contents `