On Oct 17, 12:29pm, Michael D. Hensley wrote:
> 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
...
> or a command file:
> ---
> anyparm searchstr
> run mpex.pub.vesoft;info="print ^FILELIST; search=cl'!searchstr';num"
Michael is correct about UDCs and command file being unable to feed $STDIN
input into a program, like can be done from within a job.
You may prefer to create the input data file as a TEMP file, on the fly:
ECHO @.forms.myacct >>FILELIST
etc.
This way you don't have to maintain two files.
Jeff Vance, CSY
--