HP3000-L Archives

October 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Date:
Fri, 17 Oct 1997 12:29:37 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
> ------------------
> search
> input searchstr;prompt="Enter search string "
> mpex.pub.vesoft
> print @.forms.myacct;search=caseless "searchstr";num
> print @.job.myacct;search=caseless "searchstr";num
> print @.prod.myacct;search=caseless "searchstr";num
> print @.pub.myacct;search=caseless "searchstr";num
> print @.source.myacct;search=caseless "searchstr";num
> ****
> ------------------

Unlike job streams, the UDC file can't act as $STDIN for any programs it
runs.  Here's one solution:

First, create a file named FILELIST (or whatever you want), which looks like
this:

---
@.forms.myacct
@.job.myacct
@.prod.myacct
@.pub.myacct
@.source.myacct
---

And here's what your UDC will look like:

---
search
input searchstr;prompt="Enter search string "
run mpex.pub.vesoft;info="print ^FILELIST; search=cl'!searchstr';num"
---

or a command file:

---
anyparm searchstr
run mpex.pub.vesoft;info="print ^FILELIST; search=cl'!searchstr';num"
---
---
Michael D. Hensley   | mailto:[log in to unmask]
Allegro Consultants  | http://www.allegro.com
650/369-2303

ATOM RSS1 RSS2