Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Can a indexed file be accessed in arrival sequence in RPG?

1 Answers  


Why Rpg/400 is Famous?

2 Answers   IBM,


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?

1 Answers  


what is program status data structure?

1 Answers   IBM,


Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?

1 Answers  


what is post opcode do

1 Answers   CTS,


1.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? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out

4 Answers   Virtusa,


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


Categories