Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Select records having ABC NOT ABCD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
sivakumar cv

New User


Joined: 18 Sep 2007
Posts: 4
Location: US

PostPosted: Mon Sep 24, 2007 8:59 pm    Post subject: Select records having ABC NOT ABCD
Reply with quote

Hi,

I am running a batch fileaid and facing the following problem.

There are records that consists of ABC only and also ABCDE. Now i want to select records that have only ABC but not ABCDE.

EXAMPLE FILE LAYOUT :

12345 ABC MNOP
2345 ABCDE KLMN

To select first record(but not second record) I am writing this :

IF=(7,EQ,C"ABC")

to extract only 1st row, BUT

I am getting both the rows as output. I want to select records that has only ABC not those which has ABCDE.

I appreciate your help.

Thanks
sivakumar.cv
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Sep 24, 2007 9:13 pm    Post subject:
Reply with quote

Hello,

Try "ABC ". . . . Place a space after the C. You might want a space before the A also.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 1 Wed Dec 06, 2017 1:50 am
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts Matching and unmatched records!! Vignesh Sid SYNCSORT 3 Thu Nov 09, 2017 11:22 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us