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 |
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
how do I declare a table or array in rpg iv?
in which journalling which attributes are necessary
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
What is a record lock error?
How to write record if no field or the field are different in physical file in rpgle ?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,