Backbutton

Example 80

Example 80 - Using the SEARCH Intrinsic Transform
 
    COPY COPYWRITE/LIBRARY                                                        
      TO SEARCH(CD,HOSTNAME=LOCAL,SCRATCHPOOL=SEARCH)[T];                         
        TASKSTRING="Find CASED/begin/,UNCASED#08/02/99# " &                       
                   " @1-72 : REMOTE";                                            
 
Example80
 
  1. The search feature is provided by invoking the SEARCH shortcut.
  2. The syntax is a subset of the CANDE FIND command.
  3. The SEARCH intrinsic transform renames the file as *FILExxxxx to avoid any synonyms, since the volume tables are being created, even though no I/O will be done to the archive volume.
  4. This search is done for each logical record, which is unpacked from the LIBRARY/MAINTENANCE block. It can take a long time to search large files.