Subject: | |
From: | |
Reply To: | |
Date: | Fri, 7 Nov 1997 23:37:34 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Bob Brown wrote:
>
> Hi Paul,
>
> try
>
> echo list !!gl_range1 !>!> !!_filename >> tempfile
>
> this puts
>
> echo list !gl_range1 >> !_filename >> tempfile
>
> into tempfile.
>
> -Bob
> [log in to unmask]
> [log in to unmask]
>
> ______________________________ Reply Separator _________________________________
> Subject: Any Ideas?
> Author: [log in to unmask] at Internet
> Date: 11/07/1997 5:18 PM
>
> I'm trying to build, within a batch job, a file containing a series of
> commands for a utility. The batch job executes a command file that performs
> some additional processing and also builds this file. One of the lines that
> I need to place in this file is (without the quotes):
> "list !gl_range1 >> !_filename"
> so my job stream contains the statement:
> echo list !gl_range1 >> !_filename >> tempfile
> The above does not work, because of the two occurrences of the '>>' symbols.
> I'm considering taking that section out of the command file and placing it
> 'inline' in the stream file:
> ...
> !file x=tempfile,oldtemp
> !print out=*x
> text !gl_spool1 >> !_filename
> list !gl_range1 >> !_filename
> list !gl_range2 >> !_filename
> ...
> !eod
> ...
> but this means that I'll have to go around and modify a whole bunch of job
> streams.
>
> Any Ideas?
>
> Regards
>
> Paul H. Christidis
umm, oops. This has not been my most productive day. What the echo
command above produces is:
list !gl_range1 >> !_filename
not what I alledgely typed above.
Sorry about that.
-Bob
[log in to unmask]
[log in to unmask]
|
|
|