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

Exclude a line just above the excluded lines


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rgupta71

Active User


Joined: 21 Jun 2009
Posts: 160
Location: Indore

PostPosted: Tue Jul 20, 2010 9:10 am
Reply with quote

Hi All,

Is it possible to exclude line just above the excluded lines.

For example my dataset is like
ABCD,Policy No1;.
ABCD,Policy No2;.
ABCD,Policy No3;.
Error Message
ABCD,Policy No4;.
ABCD,Policy No5;.
ABCD,Policy No6;.
ABCD,Policy No7;.
Error Message

I can do an x all 'Error Message' to hide the errors but I need to know the policy number also for which this error is coming.

In this example Policy No3. and Policy No7.
Thanks.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jul 20, 2010 11:08 am
Reply with quote

You can do this with ISPF Edit-Macro.

O.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Exclude rows with > than x occurre... DFSORT/ICETOOL 6
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
Search our Forums:

Back to Top