![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: When I am running the search command on a particualr file as part of a command file, How do I get VMS to recognize the output from the search in an IF statement? The Answer is : Depending on the desired behaviour, you can use the $STATUS value returned from the SEARCH command completion (often with /WINDOW=0), or you can OPEN and process the output file (optionally) created by the SEARCH command (SEARCH/OUTPUT=filename), or you can potentially use the PIPE command and its various delimiters in conjunction with the SEARCH operation.
|