Does anyone have a generic coding example or an online resource of a coding example that will do the following:
1) Read a record/row in TABLE_A (Transaction File).
2) Read a matching record/row in Table_B (Master File) based on a common key.
3) Perform Calculations Using fields from both records and addtional work fields in memory, and updating some fields in Table_B.
4) Add a record/row to Table_C (BillFile) showing the results of the calculations.
5) Rewriting the updated record/row in Table_B and DELETING the record in Table_A.
6) Loop back and get the next record/row in step 1 until EOF/End of Table.
7) End of Routine - "Display Completed
1) Read a record/row in TABLE_A (Transaction File).
2) Read a matching record/row in Table_B (Master File) based on a common key.
3) Perform Calculations Using fields from both records and addtional work fields in memory, and updating some fields in Table_B.
4) Add a record/row to Table_C (BillFile) showing the results of the calculations.
5) Rewriting the updated record/row in Table_B and DELETING the record in Table_A.
6) Loop back and get the next record/row in step 1 until EOF/End of Table.
7) End of Routine - "Display Completed