Can we used ovrdbf command after the opnqry file if yes then
What will be out put of your program?

Answers were Sorted based on User's Feedback



Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?..

Answer / naveen chandra joshi

No. we can not use OVRDBF command after OPNQRYF command if
we do so then program will give error as the OPNQRYF
command expects the Open Data Path to share before
processing.
I tested the program and then posting the answer.

Regards,
Naveen,
9891501280.

Is This Answer Correct ?    17 Yes 1 No

Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?..

Answer / gatla

hi...naveen.. can you elaborate your answer plz...

Is This Answer Correct ?    1 Yes 0 No

Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?..

Answer / dkumar3

We have to used OVRDBF command before OPNQRYF to make available Data Path to make I/O opratuion.

Is This Answer Correct ?    1 Yes 0 No

Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?..

Answer / ss

OVRDBF command before OPNQRYF because it will make the ODP *yes.
If the ODP is *yes then only the changes will be reflected in next calling program.
If the ODP is *no then there is no use of opnqry because data will not be reflected in next calling program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


what is edit word and edit code

0 Answers   Cap Gemini,






How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?

8 Answers  


When will DUMP & DEBUG be ignored?

3 Answers   IBM,


WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,


which program rpg or cl is efficent to update a transaction onto a database file and why ?

0 Answers   IBM,


The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


Categories