Using CLOSE & OPEN commands IN RPG ILE program

25 pts.
Tags:
RPG ILE
RPG Program
USROPN
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Yuriy44
    [...] 7. CharlieBrowne helps a member with using CLOSE & OPEN commands in RPG ILE program. [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following