You've all fallen for it! It is a well known fact that you cannot mix APPLES and ORANGES. Won't work. Even PIPES can't do it!
-- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Llewellyn, Mark Sent: Tuesday, March 06, 2007 12:03 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Realy simple pipe insert ? Assuming there aren't any compound versions of APPLES in the input file (like SNAPPLES): 'PIPE < INPUT FILE A | change /APPLES/ORANGES APPLES/ | > NEW FILE A' Mark Llewellyn VISA USA ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas Sent: Tuesday, March 06, 2007 9:44 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Realy simple pipe insert ? Marty, Yes I want to pass the entire file to 'new file a' and insert ORANGES before APPLES. Thanks -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Marty Zimelis Sent: Tuesday, March 06, 2007 11:41 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Realy simple pipe insert ? I'm guessing you didn't give us the full request. I assume that records without the string APPLES pass unchanged. Records with the string APPLES: do you want to replace the string or the entire record with ORANGES? Or do you want to insert a new record (ORANGES)? If an insert, before or after the record with APPLES? Marty ____________________ Martin Zimelis Principal maz/Consultancy ________________________________ 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 ________________________________