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 elastic and non elastic subrile?

1013


Difference Between Call & Sbmjob?

1300


how do you specify page overflow indicator for printer files in rpg?

2291


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

1247


what is *iso date format?

1057


define a output queue?

1603


which are the string manipulation opcodes?

1084


Apart from opening of a file do we have any other use of USROPN?

1391


how does union file maintains record formats?

1111


what is sflinz and sflrna?

1521


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

2008


what is the purpose of data structure?

1753


what are various techniques to pass parameters from one program to another?

1869


how to write *pssr ?

1083


Difference Between Skip Before & Space Before?

1234