When I add a secondary output to the CP stage, I get:

PIPCOM112E Excessive options "q v dasd".
PIPSCA003I ... Issued from stage 1 of pipeline 1.
PIPSCA001I ... Running "cp q v dasd".

Notice the pipeline is issuing "CP Q V DASD"....

Would someone share their results when CP has a secondary output
defined?

Here is my pipeline:
/*  */
signal on novalue
"pipe ( endchar ? stagesep \ )  ",
   "? a:   cp q v dasd            ",
   "\ console                   ",
   "?   a: \ specs /RC=/ 1 pad 0 1-* nw.3 ",
   "\ console"
 
 
return rc


____________________
Jim Hughes
603-271-5586
"It is fun to do the impossible."

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Dave Jones
Sent: Wednesday, October 06, 2010 3:52 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: simplest little pipe

Try this instead, Tom:

'PIPE (end ?)',
'| a: cp v dasd' ,  /* incorrect format for CP command, btw */
' > b b a',
'?',
'a:',
'| > c c a'

On 10/06/2010 02:47 PM, Tom Huegel wrote:
> This is so simple, but I am a little crossed eyed today.
> 
> Shouldn't I see the RC or error msg in 'C C A"?
> 
> pipe (endchar ?) cp  v dasd | a: > b b a  ? a: | > c c a
> 
> I don't get anything there.
> 

-- 
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544

Reply via email to