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 we use OVRDBF command without using of OPNQRYF ?
Or can we use OPNQRYF command without using of OVRDBF
command ?

Answer Posted / bharat

OVRDBF can be used separately without opnqryf to override
the attributes of file.
Now, OPNQRYF without ovrdbf, is also possible:
opnqryf creates the open data path and to share the same
data path in a program we use ovrdbf share(*yes), if we do
not use ovrdbf, then program will have its own ODP, so it
will read the file from begining on which query has been
run. So, OPNQRYF selected records will have no importance.
So, we need to use CPYFRMQRYF command and put the selected
recoreds in to runtime file and use that file to read in
program.

Is This Answer Correct ?    43 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

6821


what is term cua , saa?

1549


what is the function of cpysplf command?

1611


How can we change the uppercase to Lowercase in RPG?

1381


define the purpose/use for sflrna?

1594


what is sflpag and sflsiz ?

3315


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

1036


when are the referential constraints executed?

1069


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

1065


how can you check for a records existence without causing and i/o (chain/read)?

2017


what is full form for dds?

1165


Write a CL program which will run a batch job at 1 am every night

1067


What is file information data structure(infds) in as400?

1434


What is RETURN CURSER LOCATION in subfile?

1543


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

2249