.. _section3.1.2: 3.1.2 - Get Update Controls ================================= .. _GC: Action Option -**GC** (-**GetControl**) (Alias: -**GetUpdateControl**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Alias: -GetUpdateControl) retrieves update control records for a given dataset. | **dsupdt** [[:ref:`-(DS|Dataset) `] dNNNNNN] -(GC|GetControl) [:ref:`Mode Option `] | [:ref:`-(FN|FieldNames) ` FieldNameString] | [:ref:`-(CI|ControlIndex) ` UpdateControlIndices] | [:ref:`-(ID|ControlID) ` ControlIdString] | [:ref:`-(SN|Specialist) ` GDEXSpecialist] | [:ref:`-(PI|ParentIndex) ` ParentControlIndices] | [:ref:`-(AN|ActionName) ` DSUPDTActionNames] | [:ref:`-(FQ|Frequency) ` UpdateControlFrequencies] | [:ref:`-(CO|ControlOffset) ` UpdateControlOffsets] | [:ref:`-(CT|ControlTime) ` UpdateControlTimes] | [:ref:`-(OF|OutputFile) ` OutputFileName] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available :ref:`Mode option `: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(FO|FormatOutput) ` - formats each column to a uniform fixed width Use :ref:`Info option ` :ref:`-FN ` (-FieldNames) to specify which control fields to retrieve. The default is 'CLNPAFOTRVUJEKZ' when :ref:`-FN ` is not provided. To return every available field, supply :ref:`-FN ` ALL. Valid field names of update controls and their corresponding :ref:`Info ` option names: .. list-table:: :widths: auto :header-rows: 1 * - Names - :ref:`Info Options ` - Descriptions * - C - :ref:`-(CI|ControlIndex) ` - index of update control record * - L - :ref:`-(ID|ControlID) ` - descriptive id for a control record * - N - :ref:`-(SN|Specialist) ` - GDEX specialist who owns the control record * - P - :ref:`-(PI|ParentIndex) ` - parent index, refers to a dcupdt.cindex if not 0 * - A - :ref:`-(AN|ActionName) ` - update action name for **dsupdt** * - F - :ref:`-(FQ|Frequency) ` - frequency of update control, i.e., 1W, 1M * - O - :ref:`-(CO|ControlOffset) ` - time offset for next process, i.e., 2D10H, 3H15N * - T - :ref:`-(CT|ControlTime) ` - time to run dsupdt, format: YYYY-MM-DD HH:NN:SS * - R - :ref:`-(RI|RetryInterval) ` - retry interval for failed dsupdt, i.e., 1M2D, 2H * - V - :ref:`-(VI|ValidInterval) ` - update valid interval, i.e., 2D, 1M * - U - :ref:`-(UC|UpdateControl) ` - any of B-Begin, C-Current, E-Reset End Date/Time, F-Future, G-GMT, M-Multi, N-New, O-Miss, Y-Skip Feb. 29, Z-Allow Zero Filesize * - J - :ref:`-(MC|EMailControl) ` - one of A-All, E-Error, N-No, S-Summary, B-Summary when Error * - E - :ref:`-(EC|ErrorControl) ` - one of I-Ignore Error, Q-Quit on Error, N-Neither * - K - :ref:`-(KF|KeepFile) ` - one of S-Server File, R-Remote File, B-Keep Both, N-Neither * - Z - :ref:`-(HO|HourOffset) ` - time zone hour offset, hours ahead of local time * - D - :ref:`-(DT|DataTime)
` - time data updated to, format: YYYY-MM-DD HH:NN:SS * - H - :ref:`-(HN|HostName) ` - hostnames on which this control index can or cannot be processed * - Q - :ref:`-(QS|QsubOptions) ` - additional PBS qsub options * - Y - :ref:`-(CC|CarbonCopy) ` - carbon copies for additional email addresses * - X - :ref:`-(XC|ExecuteCommand) ` - Command to be executed after successful update When no dataset number is supplied, update control information is shown for all available control records across every dataset owned by the specialist running **dsupdt**. .. _3.1.2_e2: **EXAMPLE 2. To retrieve the default update control fields for d277000:** | **dsupdt** d277000 GC Content of the output: .. code-block:: none Dataset<=>d277000 ControlIndex<:>Specialist<:>ParentIndex<:>Action<:>Frequency<:>ControlOffset<:>ControlTime<:>RetryInterval<:>UpdateControl<:>EMailControl<:>ErrorControl<:>KeepFile<:>HourOffset<:> 1<:>zji<:>0<:>UF<:>1W<:>1D9H<:>2011-10-24 09:00:00<:>12H<:><:>A<:>N<:>N<:>0<:> 2<:>zji<:>0<:>UF<:>1M<:>1D15H<:>2011-11-02 15:00:00<:>1D<:><:>A<:>N<:>N<:>0<:> 3<:>zji<:>0<:>UF<:>1M<:>2D15H<:>2011-11-03 15:00:00<:>1D<:><:>A<:>N<:>N<:>0<:> | :ref:`Back to Top ` | :ref:`Back to Table of Contents `