.. _section3.1.4: 3.1.4 - Get Local Files ================================= .. _GL: Action Option -**GL** (-**GetLocalFile**) (Alias: -**GetLocal**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Alias: -GetLocal) retrieves local file update records for a given dataset. When local file indices or names are provided, only the matching records are returned. | **dsupdt** [[:ref:`-(DS|Dataset) `] dNNNNNN] -(GL|GetLocalFile) [:ref:`Mode Option `] | [:ref:`-(FN|FieldNames) ` FieldNameString] | [:ref:`-(LI|LocalIndex)
  • ` LocalFileIndices] | [:ref:`-(LF|LocalFile) ` LocalFileNames] | [:ref:`-(AN|ActionName) ` DSARCHActionName] | [:ref:`-(XO|ExecOrder) ` ExecOrderIndex] | [:ref:`-(FQ|Frequency) ` DataFrequencies] | [: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:`-FN ` (-FieldNames) to specify which local file fields to retrieve. The default is 'LFAIUCOQJNVWZ'. Use :ref:`-FN ` ALL to retrieve all available fields. Valid field names of local files and their corresponding :ref:`Info option ` names: .. list-table:: :widths: auto :header-rows: 1 * - Names - :ref:`Info Options ` - Descriptions * - L - :ref:`-(LI|LocalIndex)
  • ` - index of update record * - F - :ref:`-(LF|LocalFile) ` - local, original or source file names * - A - :ref:`-(AN|ActionName) ` - Action name for `dsarch `_ * - I - :ref:`-(CI|ControlIndex) ` - update control indices * - P - :ref:`-(PI|ParentIndex) ` - parent index, refers to a dlupdt.lindex if not 0 * - U - :ref:`-(FA|FileArchived) ` - archived file names on GDEX Servers * - C - :ref:`-(DC|DownloadCommand) ` - command for downloading a remote file * - O - :ref:`-(OP|Options) ` - options following the Action * - X - :ref:`-(XO|ExecOrder) ` - order indices for update execution * - Q - :ref:`-(FQ|Frequency) ` - frequency of data files, i.e., 1W, 1M * - E - :ref:`-(EP|EndPeriod) ` - 0=Sunday/EndMonth if FQ=1W/1M * - J - :ref:`-(ED|EndDate) ` - data end date of next update * - K - :ref:`-(EH|EndHour) ` - data end hour of next update * - N - :ref:`-(DI|DueInterval) ` - data next due period, i.e., 1M2D * - V - :ref:`-(VI|ValidInterval) ` - update valid interval, i.e., 2D, 1M * - T - :ref:`-(AT|AgeTime) ` - remote file age interval, i.e., 2D, 1M * - W - :ref:`-(WD|WorkDir) ` - working directory for processing update * - Z - :ref:`-(CL|CleanCommand) ` - command for removing data files after update * - M - :ref:`-(MR|MissRemote) ` - flag (Y/N) indicating whether a missing remote file is allowed * - R - :ref:`-(PR|ProcessRemote) ` - external utility to process remote files * - B - :ref:`-(BC|BuildCommand) ` - external utility to build local files * - S - :ref:`-(SN|Specialist) ` - GDEX specialist who owns the local file record * - D - :ref:`-(DE|Description) ` - File description, include temporal patterns Specific local files can be filtered by name using :ref:`-LF ` (-LocalFile), which accepts the '%' wildcard to match any number of characters. When no dataset number is given, update information is displayed for every local file across all datasets owned by the specialist running **dsupdt**. .. _3.1.4_e4: **EXAMPLE 4. To retrieve the default local file fields for d744004, local file indices 33 and 34:** | **dsupdt** d744004 :ref:`GL ` :ref:`-LI
  • ` 33 34 Content of the output: .. code-block:: none Dataset<=>d744004 LocalIndex<:>LocalFile<:>Action<:>ExecOrder<:>ControlIndex<:>FileArchived<:>DownloadCommand<:>Options<:>Frequency<:>DueInterval<:>EndDate<:>ValidInterval<:>WorkDir<:>CleanCommand<:> 33<:>uv..bln<:>AW<:>1<:>0<:><:>cp -p /huron/ftp/rossby/upload/morzel/<:>-GI 11 -DF BINARY<:>1M<:><:>2009-08-31<:><:>$UPDTDATA/zji/BLNWIND<:>rm -f __FN__<:> 34<:>curl..bln<:>Aw<:>2<:>0<:><:>cp -p /huron/ftp/rossby/upload/morzel/<:>-GI 12 -DF BINARY<:>1M<:><:>2009-08-31<:><:>$UPDTDATA/zji/BLNWIND<:>rm -f __FN__<:> | :ref:`Back to Top ` | :ref:`Back to Table of Contents `