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

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


What are the necessary keywords required to code a message subfile?

3 Answers  


What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

3 Answers   HSBC, IBM,


1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?

1 Answers   NetCracker,


How can we override a file during runtime in rpg?

0 Answers  






please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

4 Answers   Virtusa,


while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue

1 Answers  


what was the robotech rpg?

0 Answers   IBM,


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


How to add 2 new fields in a file? How many ways are there in as400?

2 Answers  


RETRIVING DELETED RECORDS :- I'm frequently asked how to retrieve deleted records from an unjournaled physical file when the deleted records have not yet been removed from the file. Utility UNDEL lets you undelete records in a physical file. This public domain program is available in CISC and RISC versions, and the complete source code is available for download at: UNDEL for AS/400 Save File (RISC): http://www.as400network.com/sharewarefiles/undelris.zip UNDEL for AS/400 Save File (CISC): http://www.as400network.com/sharewarefiles/undel.zip UNDEL for AS/400 Save File (Source code): http://www.as400network.com/sharewarefiles/undelsrc.zip The utility takes advantage of the fact that deleted records in physical files are only flagged as deleted, and the record data still exists until it is overwritten or the file is reorganized with a utility such as RGZPFM. UNDEL simply reads the deleted record, then reuses the record by writing over it with the new record (thus eliminating the flag for the deleted record). Some homegrown and commercial utilities copy the file containing undeleted records to a save file, then use a program to read the save file, which contains live and undeleted records, to a file to undelete the records. The UNDEL utility is superior to the SAVF technique because there's no need to copy the file to a save file, which is especially important for really large files. When run, UNDEL displays the physical file records in their unformatted, raw text form. You can either position the display to a given relative record number or use F19 or F20 to find the previous and next deleted record, respectively. The utility also includes online help, which is almost unheard of for free utilities. Other utilities include the ability to undelete records. You can use the RTVDLTRCD command in the old QUSRTOOL (no longer supported by IBM). QUSRTOOL is now a commercial product called TAA Productivity Tools ( http://www.taatool.com ). The free file editor WRKDBF has a built-in undelete capability ( http://www.wrkdbf.com ), and several commercial file editors can undelete records. For a complete list of file editors, go to http://www.sourcebook400.com, select "Programmer Tools" under "Product Category," then select "File Editors."

0 Answers  


How can a screen field that has changed since the last output operation be detected?

4 Answers   IBM,


Categories