Look at the sample in one of my previous posts. Change the w2 to w3 and you 
have it.

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of Gonen Shoham
> Sent: Thursday, October 22, 2009 9:40 PM
> To: [email protected]
> Subject: Re: Delete cms file record using PIPE
> 
> I am not a PIPE expert....
> 
> The criteria is actually delete lines where word(1) = 'XX' 
> and word(3) =
> 'YY' and substring(25,1) = 'a'   etc....
> 
> 
> Any sample around ?
> 
> 
> Thanks 
> 
> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of Doug Breneman
> Sent: Thursday, October 22, 2009 11:25 PM
> To: [email protected]
> Subject: Re: Delete cms file record using PIPE
> 
> Gonen,
> Please consider using the NLOCATE or the PICK stages.
> Doug Breneman Z/VM Development IBM Endicott
> 
> Inactive hide details for Gonen Shoham ---10/22/2009 05:23:49 
> PM---I have a CMS file in which I need to delete lines that 
> meet Gonen Shoham
> ---10/22/2009 05:23:49 PM---I have a CMS file in which I need 
> to delete lines that meet specific criteria.
> 
> 
> 
> From: 
> Gonen Shoham <[email protected]>    
> 
> To:   
> [email protected]       
> 
> Date: 
> 10/22/2009 05:23 PM   
> 
> Subject:      
> Delete cms file record using PIPE     
> 
> Sent by:      
> The IBM z/VM Operating System <[email protected]>       
> ________________________________
> 
> 
> 
> 
> I have a CMS file in which I need to delete lines that meet 
> specific criteria.
> 
> For example - 
> 
> Delete all line where (word,1) = 'XX' and (word,2) = 'YY'
> 
> 
> Can someone suggest a way to perform this task using PIPES  ?
> 
> 
> Thanks
> 

Reply via email to