Thanks Mark.

I've never issued HELP PIPE let alone HELP PIPE CP.  

I use PIPE HELP or PIPE AHELP when assistance is required.  You learn
new stuff everyday.

Best regards,

____________________
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 Gillis, Mark
Sent: Wednesday, October 06, 2010 4:39 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: simplest little pipe

>From help pipe cp:

string

    is a command passed to CP for execution. The string operand cannot
be     
    specified if the secondary output stream of the CP stage is
connected; in 
    that case, the CP stage issues only the commands that it reads from
its   
    primary input stream.



Mark Gillis 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Hughes, Jim
Sent: Thursday, 7 October 2010 7:33 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: simplest little pipe

Where are the clues indicating a secondary stream is not allowed if the
command is specified as part of the cp stage?

Be gentle.

____________________
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 Frank M. Ramaekers
Sent: Wednesday, October 06, 2010 4:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: simplest little pipe

Was this more what you were looking for?

PIPE (ENDCHAR ?) LITERAL v dasd | a: CP | > b b a ? a: | SPEC /RC=/ 1
PAD 0 1-* NW.3  RIGHT| CONSOLE
RC= 001


 
Frank M. Ramaekers Jr.
 
 

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

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

_____________________________________________________

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
privacy...@ailife.com.

Reply via email to