Ahhh....but using "command" you have to make sure the command (and it's parameters) is in upper case!
pipe literal getfmadr f00 | command | append stack | console PIPCOM281W Mixed case command verb "getfmadr". PIPMSG003I ... Issued from stage 2 of pipeline 1. PIPMSG001I ... Running "command". pipe literal GETFMADR f00 | command | append stack | console DMSCYG363E Invalid starting address f00 Frank M. Ramaekers Jr. -----Original Message----- From: CMSTSO Pipelines Discussion List [mailto:[email protected]] On Behalf Of Rob van der Heij Sent: Thursday, June 30, 2011 7:59 AM To: [email protected] Subject: Re: [CMS-PIPELINES] PIPE to read STACK when not 1st On Thu, Jun 30, 2011 at 2:50 PM, Frank M. Ramaekers <[email protected]> wrote: > > I want to read the stack in the middle of a pipe. How? For example, > GETFMADR puts information on the stack. How can it be retrieved from > PIPE? > > > > "PIPE LITERAL GETFMADR | CMS | (pull from stack) | ..." (using "command" to discourage Sir Kris from warning you about the virtues of command resolution in CMS... ) literal GETFMADR | command | append stack | .. That gives you both. The output of the command followed by what's on the stack. You could also have " ..| hole | append stack | ..." if you just want the stack, or " .. | preface stack | .. " to get the stacked lines first. | Sir Rob the Plumber _____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at [email protected].
