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

is this a rpg channel?

0 Answers   IBM,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


what is the difference between do while and do until?

0 Answers   IBM,


do you use message subfiles? What are the necessary keywords required coding a message subfile?

0 Answers   IBM,






what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


How can read PF in reverse order (end to start) in CL pgm..

8 Answers   TCS,


Categories