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
 
How to compare 2 files using ICETOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
sandybadam

New User


Joined: 09 Oct 2006
Posts: 14

PostPosted: Thu May 29, 2014 10:15 pm    Post subject: How to compare 2 files using ICETOOL
Reply with quote

Hi,

I have 2 files.

Structure of File1

11111 ABCD BLR
22222 BCDE BLR
33333 CDEF BLR
44444 DEFG BLR
55555 EFGH BLR

Structure of File2

11111
33333
55555

I want to write the File1 records that are matching with File2 into output file.. and change BLR to CHN for the matching records..

Could you please let mek now how to acheive both using ICETOOL.
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10495
Location: italy

PostPosted: Thu May 29, 2014 10:21 pm    Post subject: Reply to: How to compare 2 files using ICETOOL
Reply with quote

what if it were impossible to do it with ICETOOL

the proper approach is to satisfy the requirement ( compare and mangle two files )
using the tool best suited for it

and if You had done the due diligence of searching the forum
You would have found gazillions of examples
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Splitting one record in a file to 10 ... mf_123 DFSORT/ICETOOL 5 Tue Aug 21, 2018 8:51 pm
This topic is locked: you cannot edit posts or make replies. Data Sets are files. Please stop str... jasorn JCL & VSAM 11 Wed Aug 08, 2018 1:55 am
No new posts USS: Find and replace string within a... vasanthz All Other Mainframe Topics 5 Thu Aug 02, 2018 4:01 am
No new posts IKJEFT1B - Cant send 2 files with bot... Time2Live TSO/ISPF 3 Thu Jul 19, 2018 4:56 am
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm

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