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

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  


To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 Answers  


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

0 Answers   IBM,


difference betwen keywords and opcodes

3 Answers  


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,






Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?

1 Answers  


Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

6 Answers   HSBC,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,


how do I preserve and clean the array?

0 Answers   IBM,


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


Categories