goalchi27
New User
Joined: 31 May 2007 Posts: 4 Location: India
|
|
|
|
Hi all,
Here is my requirement
Match the sorted TDO file with the sorted MRPT file by transaction number and BP-ID.
If the reply code on the TDO is 181 or 182 and the IBP is < 800, write record to a new report as defined in requirement. If the record cannot be found on the sorted MRPT File, write the report leaving the MRPT file fields (Member number, Part D MRPT, Part C MRPT, IBP from MRPT) blank.
If the reply code on the TDO is 186, match with the sorted MRPT file by transaction number and BP-ID. Write record to a different report as defined in requirement. If the record cannot be found on the sorted MRPT File, write the report leaving the MRPT fields (Member number) blank.
The above given two files TDO and MRPT are sorted by transaction number and BP-ID in ASC.
In the report i have to give the control to Member Number which coming from MRPT file.
Can you please provide me the solution?
Thanks,
Goalchi27 |
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to work on a solution and post what you have when you have errors or abends are encountered.
The forum is not intended to write your code for you, but rather provide assistance when you have questions/problems with your code, jcl, etc. |
|