View previous topic :: View next topic
|
Author |
Message |
krishnasaikiah
New User
Joined: 14 Mar 2007 Posts: 24 Location: gurgaon
|
|
|
|
Hi all,
I have a field in a file which when has got a value of zero , needs to extract the value of the same field from a diffenent file.
Both the files have the same key.
Can anybody please suggest how to go thru it??
I tried doing it using sort. But it didnt work. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
How about some examples of input1/input2/expected output?
How about your sort attempt and its results? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What you need is a 2-file match/merge. There is a "Sticky" near the top of this COBOL section of the forum that contains sample cobol code to do what you need.
Download the sample, review it, and post any questions or problems here. |
|
Back to top |
|
|
|