[Info-vax] SEARCH ''

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Wed Jan 19 09:50:31 EST 2022


On 2022-01-19 10:20:02 +0000, hb said:

> On 1/19/22 01:13, Stephen Hoffman wrote:
> FWIW,
>> $ pipe x="'" + "'" | search x.com &x
> does not work:
> %DCL-W-UNDSYM, undefined symbol - check validity and spelling
> 
> You probably had a symbol x defined outside of the pipe command.
> 
> $ x:=exit
> $ pipe x="'" + "'" | search x.com &x
> $ exit
> 
> A working pipe command is:
> $ pipe x="'" + "'" ; search x.com &x
> 
> And that sets/overwrites the symbol x, which can be avoided:
> $ x:=exit
> $ pipe ( x="'" + "'" ; search x.com &x )
> $ write sys$output "Page size: ''ps'"

Ah, well. Phillip, you're on your own.



-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list