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

Duplicates on EZT


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kumail Fazal

New User


Joined: 29 May 2007
Posts: 12
Location: Mysore

PostPosted: Mon Jun 02, 2008 6:14 pm
Reply with quote

Hi All,
Here is my requirement i have two input say INFILE1& INFILE2 files with 15 bytes of key being used to match them.

If a match is found then i need to check if the last two bytes for the next record for INFILE1
How effectively can i do that in a IF matched clause?

To make it make it more clear let say INFILE 1 contents are
123456789PQRSD0
123456789PQRSD2

and INFILE2 contents are
123456789PQRSD0

We'll have the match for INFILE1 and INFILE2 for the first record; but if in INFILE1 a record as shown above exist then i need to perform some processing and if it dosen't exist then i need to perform some other processing.
Now my question is how efectively can i read the next record of INFILE1 within the MATCHED clause
Back to top
View user's profile Send private message
lcmontanez

New User


Joined: 19 Jun 2007
Posts: 50
Location: Chicago

PostPosted: Mon Jun 02, 2008 8:13 pm
Reply with quote

Sync process control how the records are read so you cant force a read.

Don't give up....EZ+ does handle dups. If possible have file 1 be unique keys and file two contain the dups.

Give it a try.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Jun 02, 2008 10:23 pm
Reply with quote

Hello,

I believe you need to re-think your implementation.

You have chosen to use a non-existant "read-ahead" feature to check values in a coming record before it is really read. This does not exist in Easytreieve or COBOL (or any standard sequential processing).
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to remove block of duplicates DFSORT/ICETOOL 8
This topic is locked: you cannot edit posts or make replies. Compare files with duplicates in one ... DFSORT/ICETOOL 11
No new posts Merging 2 files but ignore duplicate... DFSORT/ICETOOL 1
No new posts COUNT the number of duplicates DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. SUM FIELDS=NONE in reverse - Get dupl... DFSORT/ICETOOL 9
Search our Forums:

Back to Top