> > I sometimes wish that Pipelines were closer to Rexx conventions (with > > a little POSIX wisdom added). Newline would always be a STAGESEP, > > except that a trailing "," (as in Rexx) > CMS Pipelines never see a newline nor a trailing , > REXX is in between what you code and PIPE; people sometimes seem to forget > that REXX interprets it first. > For example, if one codes: > 'PIPE Literal A', > '| Console' > The PIPE command gets the following string as input "Literal A | Console"
Indeed, that's all determined by REXX doing host commands as a single string. There is no law that requires you to write your pipelines in REXX. It is pretty easy to write a REXX program that reads a file, say filetype PIPE, and applies all kind of formatting conveniences. I have done things like that for a web server that used a mix of HTML and pipelines. I have a REXX CLIST that takes SYSIN data from the job stream to construct the pipe. Rob
