|
|
| 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 |
|
 |
References
|
Posted: Tue Apr 29, 2008 7:58 pm Post subject: Re: to open a file when a field in a diff file is 0 |
 |
|
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1142 Location: At my desk
|
|
|
|
How about some examples of input1/input2/expected output?
How about your sort attempt and its results? |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7505 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
|
|