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 are all the contents of subfile?

1604


what does defn do?

1020


is it possible to create a physical file without dds?

1884


how many files can be defined in f specs?

2249


what is the maximum number of fields under a record format of physical file?

1740


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1625


when is a tag statement used in rpg?

2129


an access path may be in which sequence?

1102


what does the opcode free do?

1864


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1428


What is program status data structure(psds) in as400?

1024


define the purpose of the leave operation?

1528


what are the three line types in rlu ?

2094


what is rpg fixed logic cycle?

1125


what are the different commands used in rlu ?

2299