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
 
many to many match easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
rkarthik22

New User


Joined: 18 Apr 2009
Posts: 47
Location: India

PostPosted: Sun Apr 26, 2009 7:05 pm    Post subject: many to many match easytrieve
Reply with quote

I have two input files INP1 and INP2.

I have to match two files on A1 field/key (Present in both the files)

If match is found. Again i have to check if match on P1 field/key (Present in both the files)

And present in INP1 ,write in to separate file
And present in INP2, write in to separate file

If match is not found on P1 ,

And present only in INP1 ,write in to separate file
And present only in INP2, write in to separate file

If match is not found on A1

write INP1 records in to separate file
write INP2 records in to separate file

requirement:

IF match is found on A1 key
Check if match on P1 key
Write INP1 records in to separate file
Write INP2 records in to separate file

If match is not found on P1 key
And present only in INP1 ,write in to separate file
And present only in INP2, write in to separate file

ELSE
IF match is not found on A1 key
write INP1 records in to separate file
write INP2 records in to separate file


Please help me how to do this in easytrieve using Many to Many match
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Apr 26, 2009 9:54 pm    Post subject: Re: many to many match easytrieve
Reply with quote

rkarthik22 wrote:
Please help me how to do this in easytrieve using Many to Many match
Have you looked at the manual?
CA-Easytrieve/Plus Reference Guide wrote:
Synchronized File Input performs match/merge operations on multiple files.
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 Apr 27, 2009 2:34 am    Post subject:
Reply with quote

Hello,

I suspect that multiple files is not the issue, but rather multilpe values of the same key in both input files. . .

Post some sample input from both files that covers all possibilities of the input data and the output files you want from the posted sample input.

Also post the jcl and Eztrieve code you are using.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Apr 27, 2009 2:46 am    Post subject:
Reply with quote

Dick & others,

This is what the same OP/TS posted in another website,
after receiving some help in designing the logic for his program:
in another forum OP/TS wrote:
I have to deliver this tomorrow...can u please help me to write Easytrieve code..
As i dont know abt this internal table concept


so, I don't imagine any help he receives now will do any good.
Besides, he does not want help; he wants someone to do his job.
Back to top
View user's profile Send private message
rkarthik22

New User


Joined: 18 Apr 2009
Posts: 47
Location: India

PostPosted: Mon Apr 27, 2009 12:14 pm    Post subject:
Reply with quote

NO...dbzTHEdinosauer

I need help...not others to write the code...
I will try myself to code this Many to many match easytrieve. I will put the easytreive code this weekend...
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 Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Match records - scdinesh DFSORT/ICETOOL 6 Wed Feb 22, 2017 5:02 am

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