Coding it as two pipelines doesn't guarantee the proper sequence
though, and you may _really want_ the release to occur before the detach
if everything's happening inside some exec.  "PIPE not command RELEASE
X|spec /DET 120/|CP"


Mike Harding
EDS VM National Capability
134 El Portal Place
Clayton, Ca.  USA  94517-1742

* phone: +01-925-672-4403
*  Fax: +01-925-672-4403
* mailto:[EMAIL PROTECTED]   * <mailto:[EMAIL PROTECTED]>
(personal)
Note:  For 2005, I am off on Fridays with even Julian dates and Mondays
with odd ones.


-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Buelens
Sent: Thursday, July 06, 2006 12:45 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: a really little pipe question

Most of the time there is not even a need for a HOLE stage.

HOLE is doing work: it is eating records, only the writing is skipped. 
When HOLE is ommitted the stage to its right doesn't even try to write 
records.  Next point: never use the CMS stage, use COMMAND instead if
you 
want to be sure of what happens.  So, instead of:
  PIPE CMS REL X | HOLE | CP DETACH 120 | HOLE
a tiny bit less expensive and safer:
  PIPE (end ?) COMMAND RELEASE X ? CP DETACH 120

Reply via email to