Something like this, perhaps.

'PIPE (end ?)'
'| f: faninany',
'| take 1',
'| g: gate',
'| pipestop',
'? Literal .....',
'| split',
'| g:',
'| spec /vary off/ 1 w1 nw',
'| cp: cp',
'| cons',
'? cp:', 
'| pick w1 ^== /0/',
'| f:'
 

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:ib...@listserv.uark.edu] On Behalf Of Alain Benveniste
> Sent: Wednesday, November 04, 2009 11:15 AM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: PIPE question about RC
> 
> Is it possible to test the return code for EACH CP command as 
> partially shown above :
> 
> "PIPE LITERAL C000 c001 c002 c003 ! split ! specs /vary off/ 
> 1 W1 NW ! CP=  !
> LITERAL RC ! CONSOLE"
> 
> and if a RC/=0 straight to execute a PIPMOD STOP to live the PIPE ?
> 
> 
> I have the default PIPE environment.
> 
> Alain Benveniste
> 

Reply via email to