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

how can a cgi check whether an ifs object is available?

1095


how will you find a string using pdm?

1146


What is the Difference between command attention key and command function key ?

1369


what is the length of a variable in rpg?

1672


how can a message from a message file appear as a constant on the screen?

1581


how does union file maintains record formats?

1099


how you get the relative record in a subfile in which cursor is located?

1099


what are the different commands used in rlu ?

2395


what the purpose of ovrdta, ovrata keywords?

1951


How to reverse the string in rpg

1803


what is the sequence when using cursor?

1217


What is the draw back of Procedures? why we are going to Modules?

1780


How can we arrange duplicate records in a file?

1081


define the purpose of the %sst function?

1645


How to convert a spool file to PDF file in AS400?

1238