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)?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between rename and prefix?

1040


what is term cua , saa?

1614


why is as/400 called object oriented machine?

1696


How Many Specs Are There In Rpg & Which Are They?

1101


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

1792


what is cab?

1166


how many files can be defined in f specs?

2370


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

3290


what is match field indicator?

1737


how can u check no of records in a file?

1145


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

1096


what is the function of cpyf command?

1670


what are the different types of arrays available in rpg ?

1713


what are different types of substems?

2263


How to Define a Procedure in RPG?

1732