Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
File matching logic in easytrieve/sort

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

New User


Joined: 19 Feb 2013
Posts: 2
Location: india

PostPosted: Tue Feb 19, 2013 6:19 pm    Post subject: File matching logic in easytrieve/sort
Reply with quote

Hi,
I have two file FileA & FileB.
File A has 4 fields ( AAcct,Abatchno,Adate,Aamt) fileB has 4 fields (BAcct,Bbatchno,Bdate,Bamt).
Now,
Abatchno is PD
Adate is PD
Aamt is PD
--------------------
Abatchno is numeric
Adate is numeric
Aamt is numeric
----------------------------------
I want to match this files on (batch,date and amt), can we do it in single step?? icon_question.gif
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Tue Feb 19, 2013 6:30 pm    Post subject: Reply to: File matching logic in easytrieve/sort
Reply with quote

Yes.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 726
Location: Pennsylvania

PostPosted: Tue Feb 19, 2013 6:33 pm    Post subject:
Reply with quote

Good job Bill, you are a quick study.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10626
Location: italy

PostPosted: Tue Feb 19, 2013 6:39 pm    Post subject: Reply to: File matching logic in easytrieve/sort
Reply with quote

thats a direct consequence of any forum postulate

if <You> do not like Yes/No answers, do not ask Yes/No questions icon_cool.gif
Back to top
View user's profile Send private message
shab7002

New User


Joined: 19 Feb 2013
Posts: 2
Location: india

PostPosted: Tue Feb 19, 2013 9:09 pm    Post subject: File matching logic in easytrieve/sort
Reply with quote

Ok...now can someone please provide some example easy sort/easytrive to complete above matching logic.?????? no Y/N Please icon_cry.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8491
Location: Dubuque, Iowa, USA

PostPosted: Tue Feb 19, 2013 9:13 pm    Post subject:
Reply with quote

Google is your friend. Googling easytrieve file match returned 9530 matches and THE VERY FIRST HIT contains sample code showing how to do file matching in Easytrieve.

Rather than spending 3 hours waiting for an answer on this forum, you could have resolved your own question in a matter in minutes.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Tue Feb 19, 2013 9:15 pm    Post subject: Reply to: File matching logic in easytrieve/sort
Reply with quote

There are many examples here for Sort, if you search the site for JOINKEYS. There will be examples in the manuals of whichever product you have.

In your Easytrieve Plus manual, look for Synchronised File processing. You can also find examples/disucssion in this part of the forum.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Feb 22, 2013 11:20 am    Post subject:
Reply with quote

Hello and welcome to the forum,

In both the Sort and CA parts of the foru are examples of processes that do what you want.

Clone one and modify for your specifics. If there are questions or problems, someone will be here.
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 How to place name of the file where t... danielgp89 SYNCSORT 18 Thu Oct 17, 2019 12:55 am
No new posts Need help in parsing record in VBA file guptae DFSORT/ICETOOL 4 Fri Oct 11, 2019 2:31 pm
No new posts One-One matching using SORT dearlux SYNCSORT 14 Fri Oct 11, 2019 12:11 am
No new posts Create Dynamic Sort card with Omit co... balaji81_k DFSORT/ICETOOL 9 Thu Sep 26, 2019 10:06 pm
No new posts What 'EF' in the CAFC command REGION,... vrkratheesh CICS 2 Wed Sep 18, 2019 4:52 pm

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