OVRDBF command

0 pts.
Tags:
Programming Languages
RPG
Suppose I use the following command in my CL program: OVRDBF file(Test) tofile(Qtemp/Test) Now I call my RPG program which has the file named Test. If I have to write records to the Test file, does that mean that the records will be written to the Qtemp/Test file ? If that is the case then my purpose will be solved. Please advise. Thanks.
ASKED: April 14, 2005  1:02 PM
UPDATED: April 14, 2005  7:41 PM

Answer Wiki

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

Yes, that is exactly the case.

Discuss This Question: 3  Replies

 
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
  • Matobey
    If the RPG program is running in the same activation group then the qtemp version of the test file will be used. If not the first test file in the library list will be used unless you change the OVRSCOPE parameter in the OVRDBF command. Mike
    0 pointsBadges:
    report
  • DataKnight
    That is exactly how the override will work. You answered your own question
    0 pointsBadges:
    report
  • Islam05
    That's correct. Whatever overwrite you have, program will update that file.
    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