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
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 |
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 |
What is the length of Signature?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
How to index LF by relative record no (RRN)
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
what is EXCEPT command in rpg and use
What is difference between bind by copy and bind by reference?
two types of read performed in dataqueue?????
How do you call procedures in ILE?
What are the commands that can be executed in CLP but not in RPG? Why?
What is the RPG cycle?
what is the procedure and explain about real time scenario.
0 Answers Adhoc Technologies, Hanuman Automation, HSBC, IBM,
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?