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...
