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
 

 

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: 7223

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: 645
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
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: 7905
Location: Bellevue, IA

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: 7223

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: 19270
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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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