Beware Don, I have been bitten by this once, (and retested on the only VM I've got under my hands here: a 5.2 without plastic pipes).. PIPE LITERAL PROFILE EXEC A | LITERAL èè XX K | STATE | CONS Will not produce the information about PROFILE EXEC: STATE prematurely ends due to the invalid characters in the first record it gets (and you get the DMSSTT062E Invalid character ... message). Wasn't it mentioned in this tread that invalid file IDs were possible? For a not accessed disk, it all goes fine. The behavior is documented: STATE stops when the return code is not 0, 28 or 36.
For the question: "a PIPE to run a PIPE": yes, that exists, look at the RUNPIPE stage 2009/11/12 Don Russell <[email protected]> > On Wed, Nov 11, 2009 at 12:07, Glenn Knickerbocker <[email protected]> > wrote: > > > I want to read a file only from a particular filemode, but I don't care > > if that filemode doesn't exist. DISK returns 119. > > > > Just to double-check since I'm prone to overlook the obvious: Have I > > missed some way to avoid having to STATE the file beforehand and adjust > > the pipeline not to try to read it? > > > > ¬R > > > > Are you referring to the (E)STATE CMS command, or the STATE pipe stage? > > Why not something like: > > myFile = 'THIS THAT B1' > > PIPE VAR MYFILE | STATE NODETAIL | GETFILES | ... > > If "THIS THAT B1' doesn't exist, or isn't even a valid name, it wont get > through the STATE stage, and so won't be processed by GETFILES... > -- Kris Buelens, IBM Belgium, VM customer support
