10 pts.
 RPG lookup, write, then update if necessary
Can anyone help me code in free form RPG for,
I want to look up a file to check a record is in there,
If it is,
I want to transfer that to a table, (it is already set up)
Else
Update with new record then write to table
Thanks


Software/Hardware used:
RPGILE
ASKED: November 29, 2012  8:23 AM
UPDATED: November 29, 2012  1:00 PM

Answer Wiki:
Thank you for visiting ITKE. We are happy to help you with solving specific IT questions, but need as much information as possible to do so. Let us know about the problem you are trying to solve, how you are approaching it and what work you’ve done so far, and we can help guide you in the right direction.
Last Wiki Answer Submitted:  May 14, 2013  12:56 am  by  Chris Leonard   2,620 pts.
All Answer Wiki Contributors:  Chris Leonard   2,620 pts. , Michael Tidmarsh   11,410 pts. , buzzword12345   10 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Yes, we can help. Show us the code that you have. It might be necessary to state a business reason for the program because of how simple the description is. (Homework?) Also, what is your definition for “table”? Is it a ‘table’ (array) in the program? Or is it a SQL “table”? — Tom

 108,300 pts.