IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Read two files and compare the two fields


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
viji_rags

New User


Joined: 04 Jun 2010
Posts: 24
Location: chennai

PostPosted: Fri Dec 17, 2010 7:17 pm
Reply with quote

Hi All,
I need to read two files and compare the two fields in the two files and to check if the another variable is 10 in the second file,if the condition is true means i have to write a variable from second file into first file.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Dec 17, 2010 7:27 pm
Reply with quote

This sounds interesting. Please let us know how you did it after you do it, OK? Post your code with the code tag.

Good luck!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Dec 17, 2010 7:33 pm
Reply with quote

Well, good luck with it -- since you didn't ask any questions, it sounds like you don't need any help!
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 17, 2010 7:44 pm
Reply with quote

36_2_35.gif

I guess its almost boozing time for you guys, with all those joking around.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Fri Dec 17, 2010 8:24 pm
Reply with quote

PeterHolland wrote:
I guess its almost boozing time for you guys, with all those joking around.

If they start drinking at 0900 EST, they must be having a very bad day! icon_biggrin.gif
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Dec 17, 2010 9:32 pm
Reply with quote

Drinking? Try snorting loose bits off old greenbar!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Dec 17, 2010 9:43 pm
Reply with quote

Quote:
If they start drinking at 0900 EST, they must be having a very bad day!
Or a very good one. . . Ho Ho Ho icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top