Jim,
Not quite.
I need to write the entire input file back out to 'new file a' and insert
ORANGES before APPLES.
 
Thanks

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Hughes, Jim - OIT
Sent: Tuesday, March 06, 2007 11:32 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?



"PIPE < test file a   |",

   " locate /APPLES/  |",

  " specs 1-* 1  write /ORANGES/ 1 |",

 " > new file a"

 

____________________________
Jim Hughes
603-271-5586
"There's no sense in being precise when you don't even know what you're
talking about."
John von Neumann 


  _____  


From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Huegel, Thomas
Sent: Tuesday, March 06, 2007 12:27 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Realy simple pipe insert ?

 

I want to do a simple insert of a record into the stream.

 

pipe < test file a | locate /APPLES/ .....| here I want to insert a literal
ORANGES | > new file a






  _____  


<< ella for Spam Control >> has removed 10443 VSE-List messages and set
aside 8563 VM-List for me
You can use it too - and it's FREE!   www.ellaforspam.com
<http://www.ellaforspam.com> 

 

Reply via email to