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

how do I declare a minor?

0 Answers   IBM,


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


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

1 Answers   CSC,


How to index LF by relative record no (RRN)

1 Answers  






1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?

4 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE

1 Answers   IBM,


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

7 Answers   IBM, JDA,


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  


Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC

2 Answers  


1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

5 Answers   Cap Gemini,


Categories