can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and
OPNSCOPE?

Answers were Sorted based on User's Feedback



can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE? ..

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

can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE? ..

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

Post New Answer

More RPG400 Interview Questions

Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


what is EXCEPT command in rpg and use

1 Answers   Active Brains,


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

4 Answers   CTS,


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


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?

0 Answers  






purpose of pannel group??/

2 Answers   CTS,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


How to write record if no field or the field are different in physical file in rpgle ?

0 Answers  


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

0 Answers   IBM,


How can we know running job is batch or interactive?

0 Answers  


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

1 Answers   CSC, CTS,


Categories