Nice one. Thanks!

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Stracka, James (GTI)
Sent: Thursday, March 13, 2008 3:09 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: PIPE Help (please)

If you make those:  '| > $pipef$ $temp$ a3  '    then you may eliminate
the ERASE.   

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Said, Nick
Sent: Thursday, March 13, 2008 2:55 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: PIPE Help (please)


I did say quick AND dirty :)

Good point, though. Thanks!

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Alan Altmark
Sent: Thursday, March 13, 2008 2:35 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: PIPE Help (please)

On Thursday, 03/13/2008 at 02:29 EDT, "Said, Nick" <[EMAIL PROTECTED]> 
wrote:
> Here's a quick and dirty one I've been using for years. No thinking if

> it is a cms or cp command:
> 
> /*pipef*/
> arg cmd
> '  Pipe cp 'cmd         ,
> '| > $pipef$ $temp$ a   '
> If rc /= 0 Then
> do
> '  Pipe cms 'cmd         ,
> '| > $pipef$ $temp$ a   '
> end
> 'Xedit $pipef$ $temp$ a '
> 'Erase $pipef$ $temp$ a '

Not to nitpick, but you need to invoke the PIPE CMS *only* if the return

code from the PIPE CP is 1 (unknown cp command).

Alan Altmark
z/VM Development
IBM Endicott
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically
indicated, this message is not an offer to sell or a solicitation of any
investment products or other financial product or service, an official
confirmation of any transaction, or an official statement of Merrill
Lynch. Subject to applicable law, Merrill Lynch may monitor, review and
retain e-communications (EC) traveling through its networks/systems. The
laws of the country of each sender/recipient may impact the handling of
EC, and EC may be archived, supervised and produced in countries other
than the country in which you are located. This message cannot be
guaranteed to be secure or error-free. This message is subject to terms
available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill
Lynch you consent to the foregoing.
--------------------------------------------------------

Reply via email to