DMU.HLB  —  PURGE
  The PURGE command deletes all but the highest versions  of  specified
  dictionary  objects.  You specify the objects with a full or relative
  path name.  If you do not enter a path name with  PURGE,  DMU  purges
  the   objects   in   your   default  directory.   Because  dictionary
  directories cannot have multiple  versions,  PURGE  does  not  affect
  them.

  Command Syntax:

   PURGE [qualifiers] [path-name [,path-name]...]

1  –  parameter

  path-name

  Specifies  the  objects  you  want  to  purge  or  the  directory  or
  subdictionary  that  contains the objects you want to purge.  You can
  use the wildcards *, %, and > in the path name specification.  If you
  are  using  a  terminal  of  the  VT200  family,  you  can  use 8-bit
  characters in path names.  If you specify an object,  the  path  name
  cannot  contain  a  version  number  or  a  semicolon.  If you do not
  specify a path name, PURGE  operates  the  objects  in  your  default
  directory.

2  –  privileges

  You need DELETE (D) or GLOBAL_DELETE (G)  privilege  at  each  object
  that PURGE deletes.

3  –  qualifiers

3.1    /KEEP

  Syntax:

      /KEEP=n

  You use /KEEP=n to specify the number of versions of each object  you
  want  to keep.  The number must be greater than zero.  The default is
  /KEEP=1.

3.2    /LOG

  Syntax:

      /LOG [=file-specification]
      /NOLOG

  You use /LOG  if  you  want  DMU  to  generate  a  message  for  each
  dictionary  object  deleted  by  the  PURGE  command.   If you do not
  specify a file, the messages are sent to the terminal.   The  default
  is /NOLOG.
Close Help