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...


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



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

Answer / kanckan singh

With the help of File Information Data Structure, we can check existence of records in a physical file. The code is described below:

In File description continuation line (IPFK),

KINFDS RCDS

IRCDS DS
I*RECORD
#RCDS

with the above code we can check the existence of records in a file without causing I/O operation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is qcmdexc?

1 Answers   IBM,


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

0 Answers   IBM,


How to reverse the string in rpg

0 Answers  


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

0 Answers   CSC,


what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)

2 Answers   IBM,


what is primarykey?what is difference between primary key and forign key?

1 Answers  


what are the two record formats a subfile contain ?

1 Answers   IBM,


can a indexed file be accessed in arrival sequence in rpg program?

1 Answers   IBM,


what is the use of data structures?

0 Answers   IBM,


Is qgpl a user library or system library?

1 Answers  


What does SDA stands for ?

1 Answers  


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1 Answers   IBM,


Categories