3.2.1 - Get All Information

      Action Option -GA (-GetALL) :

      retrieves update control, local file and remote file information for a given dataset. This is a comprehensive action, combining three Get actions, -GC (-GetControl), -GL (-GetLocalFile) and -GR (-GetRemoteFile).

      dsupdt[[-(DS|dataset)] dsnnn.n] -(GA|GetAll) [Mode Option]
        [-(CI|ControlIndex) UpdateControlIndices]
        [-(LI|LocalIndex) LocalFileIndices]
        [-(LF|LocalFile) LocalFileNames]
        [-(RF|RemoteFile) RemoteFileNames]
        [-(OF|OutputFile) OutputFileName]
        [-(DB|Debug) DebugModeInfo]

      Mode option that can be specified for getting all Action:

      Section headers are generated as [DCUPDT] for update controls, [DLUPDT] for local files and [DRUPDT] for remote files.

      Info option -OF (-OutputFile) is normally used to specify a file name to save the retrieved information for later usage. Result of this action is displayed on screen if no output file is provided. The output file can be edited and treated as a input file to save the changes back to RDADB per action -SA (-SetAll).


      EXAMPLE 5.

      To Get All Update Control, Local File And Remote File Information of ds277.0 for control index 1 with all fields

      -(FO|FormatOutput)format the column output with a fix width for all values of a given field
      dsupdt277.0 GA -CI 2 -OF ds277.0.c1

      Content of output file ds277.0.c1:

      Dataset<=>ds277.0
      [DCUPDT]
      ControlIndex<:>Specialist<:>ParentIndex<:>Action<:>Frequency<:>ControlOffset<:>ControlTime<:>RetryInterval<:>UpdateControl<:>EMailControl<:>ErrorControl<:>KeepFile<:>HourOffset<:>DataTime<:>HostName<:>
      1<:>zji<:>0<:>UF<:>1W<:>1D9H<:>2011-10-24 09:00:00<:>12H<:><:>A<:>N<:>N<:>0<:><:><:>
      [DLUPDT]
      LocalIndex<:>LocalFile<:>Action<:>ExecOrder<:>ControlIndex<:>FileArchived<:>DownloadCommand<:>Options<:>Frequency<:>EndPeriod<:>DueInterval<:>EndDate<:>EndHour<:>RetryInterval<:>ValidInterval<:>AgeTime<:>WorkDir<:>MissRemote<:>ProcessRemote<:>BuildCommand<:>CleanCommand<:>Specialist<:>Description<:>
      51<:>oisst.<YYYY>.asc.gz<:>AB<:>1<:>1<:><:>ncftpget ftp://ftp.emc.ncep.noaa.gov/cmb/sst/oisst_v2/ASCII_UPDATE/<:>-GI 1 -AF GZ -DF ASCII<:>1W<:>6<:><:>2011-10-22<:><:><:><:><:>$UPDTDATA/zji/NCEPSST<:>N<:><:><:>rm -f -LF<:>zji<:><YYYY/MM/DD>-<YYYY/MM/DD><:>
      [DRUPDT]
      LocalIndex<:>LocalFile<:>RemoteFile<:>ExecOrder<:>DownloadOrder<:>ServerFile<:>DownloadCommand<:>BeginTime<:>EndTime<:>TimeInterval<:>
      51<:>oisst.<YYYY>.asc.gz<:>oisst.<YYYY>.asc.Z<:>1<:>0<:><:><:><:><:><:>

      This example shows a weekly update of a local file with remote file name different from the local file name.



      Back to Top