25 pts.
 Using CLOSE & OPEN commands IN RPG ILE program
What is the best technique of using CLOSE & OPEN commands for USROPN DB files, if I need use CLOSE more then one time in program?

Software/Hardware used:
ASKED: February 17, 2011  12:25 AM
UPDATED: February 17, 2011  6:56 PM

Answer Wiki:
You can use OPEN and CLOSE as often as you need to in a program. Obviously you can on OPEN a file that is not already OPEN and can only CLOSE a file if it has been opened. Regarding Best Technique - You want to do it as few times as possible. Thre is overhead each time it is done.
Last Wiki Answer Submitted:  February 17, 2011  6:56 pm  by  CharlieBrowne   32,825 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,825 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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