IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Exlcude a block of records with SUPERSRT


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
niteshsurana

New User


Joined: 27 Oct 2006
Posts: 4
Location: india

PostPosted: Tue May 22, 2007 8:43 pm
Reply with quote

My requirement is, my input file will look like:

Code:

................................................................................ (this is high values)
COMMAND   SEND                                                                 
TO        abc@xyz.com                                               
SUBJECT   mail
................................................................................
This e-mail contains attachments that you have requested
................................................................................ (this is high values)
COMMAND   SEND                                                                 
TO        def@xyz.com                                               
SUBJECT   mail
................................................................................
This e-mail contains attachments that you have requested


Depending on the value in the TO field(mail id), I want to exclude the whole block, say for abc@xyz.com, i want to delete the information chunk from the file:

Code:

................................................................................ (this is high values)
COMMAND   SEND                                                                 
TO        abc@xyz.com                                               
SUBJECT   mail
................................................................................
This e-mail contains attachments that you have requested
Back to top
View user's profile Send private message
niteshsurana

New User


Joined: 27 Oct 2006
Posts: 4
Location: india

PostPosted: Wed May 23, 2007 6:13 pm
Reply with quote

Forgot to mention this in my previous post.
I am using SUPERSRT. is there any way to do this through SUPERSRT?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed May 23, 2007 7:28 pm
Reply with quote

SUPERSRT is a product I've never heard of. Out of curiosity, who produces it? icon_neutral.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
Search our Forums:

Back to Top