Chapter 21 - Using Transaction Files of the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc092540.pdf">COBOL Programmers Guide</a> discusses and provides a sample program which updates/rewrites subfile records. I would recommend reviewing the section Writing Programs That Use Subfile Transaction Files.
Bruce Vining
<a href="http://www.brucevining.com/"> http://www.brucevining.com/</a>
Integrated solutions for the System i user community
Last Wiki Answer Submitted: February 29, 2008 10:17 am by bvining6,055 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.