can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and
OPNSCOPE?
Answers were Sorted based on User's Feedback
Answer / nag
OVRRSCOPE parameter controls which program in the call stack
will be aware of the override. OVRSCOPE has three possible
values
*ACTGRPDFN(Activation group definition)
*Callvl (caller level)
*JOB
Specifying OverScope(*Act for GrpDfn) which default
means
if the override is issued from the default activation group
it is call level override
if the the override is issued from a name or *new activation
group the ovrscope(*ActGrpDfn) override iscoped to that
activation group.
The OpnScope parameter determines which of two levels of
sharing,
opnScope(*JOB) means all call stack entries that see the
overide will share the same openpath,
OpnScope(*ActGrpDfn) all call stack enteries override will
share the open data path with toher call stack in same
activation group
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kraja
ovrdbf is a command in cl which is used to override the
database file without locking it.for further details pls
contact k.raja
| Is This Answer Correct ? | 3 Yes | 7 No |
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
How do you know if a record exists without doing a READ and CHAIN?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.
what are the array operations?
Errors in Sql query will be in which state?
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.
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
Can you copy the records created by the OPNQRYF to other files and how?
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?
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?