Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Duplicates on EZT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Duplicates on EZT
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    Post subject:
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

Site Director


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

PostPosted: Mon Jun 02, 2008 10:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Updating the counters after eliminati... PANDU1 DFSORT/ICETOOL 12 Mon Nov 21, 2016 9:47 am
No new posts SORT CARD to remove duplicates & ... mkk157 DFSORT/ICETOOL 17 Tue Jul 08, 2014 9:04 pm
No new posts Remove the duplicates without sorting... maki_psg JCL & VSAM 13 Tue May 13, 2014 10:32 pm
No new posts Having issues removing duplicates thesumitk JCL & VSAM 8 Sat Apr 26, 2014 4:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us