How about something like: "pipe command GLOBALV SELECT SQL/DS GET DBNAME var1 var2 | hole | append literal dbname var1 vart2 ... | split | varfetch | ...." ?
OREXXMan JCL is the buggy whip of 21st century computing. We want TSO Pipes NOW! On Thu, Dec 21, 2017 at 12:03 PM, Rob van der Heij <rvdh...@gmail.com> wrote: > The GET stores the value in a REXX variable, but there is nothing to pick > it up and put it into the pipe. > > On Thu, 21 Dec 2017 at 18:00, Gentry, Steve < > steve.gen...@westernsouthernlife.com> wrote: > > > I'm not understanding something. > > Why does this work: GLOBALV SELECT SQL/DS LIST > > > > And this doesn't: GLOBALV SELECT SQL/DS GET DBNAME (DBNAME IS > valid.) > > > > > > -----Original Message----- > > From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM. > MARIST.EDU] > > On Behalf Of Michael Harding > > Sent: Thursday, December 21, 2017 10:47 AM > > To: CMS-PIPELINES@VM.MARIST.EDU > > Subject: Re: GLOBALV > > > > Or... > > 'PIPE command GLOBALV SELECT $$RDRLIS LIST | ... ' and locate or pick > the > > item(s) of interest. > > > > -- > > Mike Harding > > /sp > > > > > > CMSTSO Pipelines Discussion List <CMS-PIPELINES@VM.MARIST.EDU> wrote on > > 12/21/2017 07:31:37 AM: > > > > > From: Rob van der Heij <rvdh...@gmail.com> > > > To: CMS-PIPELINES@VM.MARIST.EDU > > > Date: 12/21/2017 07:31 AM > > > Subject: Re: GLOBALV > > > Sent by: CMSTSO Pipelines Discussion List > > > <CMS-PIPELINES@VM.MARIST.EDU> > > > > > > Steve, > > > > > > Not really. CMS does not provide a native interface for CMS Pipelines > > > to exploit. > > > > > > You can do things with "command" like this: > > > 'PIPE command GLOBALV SELECT $$RDRLIS STACK RDATETYP | append stack > > | ...' > > > > > > If you write a REXX filter, the value() function may be useful to do > > > what you need. > > > > > > Rob > > > > > > > > > On 21 December 2017 at 16:24, Gentry, Steve < > > > steve.gen...@westernsouthernlife.com> wrote: > > > > > > > Hi. Is it possible to issue the GLOBALV command from pipes? Or is > > > > there a STAGE to retrieve the info? > > > > I've tried a number of combination of commands with no luck. Those > > > > include "| CMS GLOBALV . . . ." , "| CP GLOBALV . . . ." , "| > > COMMAND > > > > GLOBALV . . . . " and a couple of things with SPEC. > > > > I could just read the file in a pipe and get what I want but prefer > > > > not > > to. > > > > Thanks, > > > > Steve > > > > > > > > > >