[Info-vax] MPA105: and RWAST'd

Jojimbo jjgessling at gmail.com
Wed Aug 10 13:55:40 EDT 2011


On Aug 4, 7:36 am, koeh... at eisner.nospam.encompasserve.org (Bob
Koehler) wrote:
> In article <b117ef30-6fdf-49f4-a8a5-a0ae099a4... at h7g2000prf.googlegroups.com>, Jojimbo <jjgessl... at gmail.com> writes:

> > $ feob 563,grp104/match=and | -
> >   (read sys$pipe line ; define/job/nolog search_result &line)
> > $ get = f$trnlnm( "search_result", "lnm$job",,,)
> > $ loc = f$locate("_PRT", get)
> > $ show sym get
<snip>
>    You just need to change the script you took that snippet out of so
>    that it empties the mailbox.  I would pipe into a second script that
>    loops until the correct record is found (unless you know the data is
>    always in the first record), then copies sys$pipe to nla0:.  That will
>    cause the subprocess to wait on the soon empty pipe, but it can and
>    will go away when the batch job is done.

Thanks, Yes, I needed to empty out the pipeline so that the process
can go away.  I changed to command to:

$   feob 563,grp104/match=and | -
    (read sys$pipe line ; define/job/nolog search_result &line ; -
    copy sys$pipe nl: )  ! must throw away the rest of the lines

I am still puzzled by this however.  Searching around I found several
examples where the emptying out the pipe isn't addressed.  Is it just
because my data is long enough to get into rwmbx state?

Regards, Jim



More information about the Info-vax mailing list