Why we need to give File and To file Names While we are using
OVRDBF. What is your understanding related to this?
Answers were Sorted based on User's Feedback
OVRDBF is to override the your database data to other file for some temporary time, other file may be the same file or different file. if you want to override your data to some temp place then you should mention that which file data you want to override(file) and where you want to keep your data(to file).
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / henry
without File name we cannot use OVRDBF adn its a mandatory
field. Also remember that the file which you used in OVRDBF
also must be present in the system. Else your RPG pgm will
not compile...Generaly if the file is multi member file
(some companies used to store they yearly/monthly
transactions in diff members) and if you want to access
specific member then it's a great deal.
| Is This Answer Correct ? | 2 Yes | 0 No |
can I touch the array during treatments?
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
ESCAPE message sent by child program can be handled by parent program using which keyword?
How I can reread the physical file in CL program once the end of file reached in same CL program.
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
how can I tell when to replace the array?
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword