OVRDBF & OPNQRY – AS/400 question

440 pts.
Tags:
AS/400
OPNQRYF
OVRDBF
AS/400 question: There is a scenario where: OVRDBF share (*yes) OPNQRY – To select only Active records CALL RPG1 But in my RPG all records are being processed. Just not active. What could be the reason behind it? And also, OVRDBF share (*no) OPNQRY – To select only Active records CALL RPG1 But in my RPG only active records are being processed but not all. What could be the reason behind it? Thanks.
ASKED: February 6, 2013  7:51 AM
UPDATED: February 7, 2013  3:00 AM

Answer Wiki

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

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
  • TomLiotta
    The answers would seem the same in both cases (assuming that all three refer to the same file name). In both cases, the RPG program is reading through a different ODP than the OPNQRYF creates.   The point of the question, though, would be why or how can that happen? In the second case, the ODP isn't shared; so it's obvious. But the first case... the answer would be found in where the share is found.   Please note that we can't actually give answers to interview questions. If you post a question and your answer, the answer is already exposed.   Tom
    125,585 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