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 do you know if a record exists without doing a READ and
CHAIN?

Answers were Sorted based on User's Feedback



How do you know if a record exists without doing a READ and CHAIN?..

Answer / avinash

by using file information data structure we can find the
number of records in a file.

Is This Answer Correct ?    18 Yes 0 No

How do you know if a record exists without doing a READ and CHAIN?..

Answer / david lex

setll KeyA FileA;
if %equal( FileA );
...
endif;

Is This Answer Correct ?    8 Yes 0 No

How do you know if a record exists without doing a READ and CHAIN?..

Answer / kcsyam

SETLL with inticator EQ = 1

Is This Answer Correct ?    10 Yes 5 No

How do you know if a record exists without doing a READ and CHAIN?..

Answer / rizwan

Without using Prg if you want to check the records of a Pf
through command line you can use
DSPFD (Display File Description)
which gives you the Total number of records as well as
deleted records in a PF.

Is This Answer Correct ?    5 Yes 1 No

How do you know if a record exists without doing a READ and CHAIN?..

Answer / venkateshp foursoft

PGM PARM(&NBRRCD)
DCL &NBRRCD TYPE(*DEC) LEN(10 0)

RTVMBRD FILE(STR) MBR(*FIRST) +
NBRCURRCD(&NBRRCD)
ENDPGM

Is This Answer Correct ?    3 Yes 0 No

How do you know if a record exists without doing a READ and CHAIN?..

Answer / sravs

We Can Done THis By using Setll with %found also..

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More RPG400 Interview Questions

What are the types of identifiers?

0 Answers  


can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E

1 Answers  


What is the purpose of PUTOVR keyword?

2 Answers  


Can we have a Physical file without any member ? Please let me know

12 Answers  


how do u find whether a record is locked or not??/

5 Answers   CTS,


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How can you determine the number of characters in a variable?

3 Answers  


1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?

3 Answers   Cap Gemini,


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?

2 Answers   TCS,


can we perform CHAIN operation on Subfile record format....?

4 Answers  


Categories