HP OpenVMS Systems

ask the wizard
Content starts here

SEARCH and Multiple Files?

» close window

The Question is:

Is it possible to search concatenated files using the vms Search command.
We currently concatenate multiple files that can be read using a query language
 with a read-concatenated mode. However, at the dcl level, when trying to
 search the same concatenation, the search ends at the end of the first file in
 the concatenation.
Is there a way to do this?

The Answer is :

  Without specifics of the failing commands, a certain answer is not
  obvious -- if the files are well and truely concatenated, then
  SEARCH is expected to work.  (Barring a corruption or record-level
  incompatibility that has arisen as a result of the concatenation.)
  If this is a question of SEARCH and the common DCL-level concatenation
  syntax -- the plus sign within parameters, that is not supported by
  SEARCH.  You can provide a comma-separated list, or you can provide
  input into SEARCH using the PIPE command.  (Note that you cannot use
  the SEARCH /WINDOW qualifier within a PIPE; this is a known restriction
  of PIPE and SEARCH.)
  Please contact the support center directly.  Please expect to be
  asked details of the SEARCH command(s) used, the error(s) seen
  (if any), and the file(s) and organizations.

answer written or last revised on ( 17-MAR-2004 )

» close window