On Wed, 20 May 2015 15:08:44 -0400, Shmuel Metz (Seymour J.) wrote: > >>CMS/TSO Pipelines embodies a similar absurdity: > >It's not absurd if it doe what it was designed for. Now, if there >isn't a command similar to literal but putting STDIN firt, *(that* >would be absurd. > There is. The APPEND modifier may be applied to any stage, not only to LITERAL. Absent APPEND, output from many stages appear as if they were processed right-to-left. I suppose this is highly intuitive to programmers of certain ethnicities.
APPEND is deprecated by master Plumbers. It degrades performance by preventing deletion of stages when their processing is complete. They proudly code their stages pushwise. As much as possible, I avoid the stack; it's error prone (I know; PEBCAK). Rather, I use stems. A dangling compound member is easier to analyze and far less painful than a mismatched PUSH. And a few days ago I stumbled onto a Rexx EXEC, supplied by IBM in CMS, which at one point painstakingly pulled the stack into a stem so it could do something with the stack, then pushed everything back onto the stack. IIRC, didn't even employ CMS Pipeines which could have done the two operations in one command each. There's much legacy CMS code which could benefit by Pipelines conversion. Apparently some developers would rather carry water in buckets than install a pipe. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
