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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does the rpg element work?

1226


How to write record if no field or the field are different in physical file in rpgle ?

961


what is *place and *auto keyword in prtf ?plz explain

3157


how do I declare a table or array in rpg iv?

1175


how can you display specific subfile page on the screen in unequal subfile?

1149


How would display prime numbers using CL program?

6314


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2518


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2313


How to handle duplicate error handling in RPG?

2302


what is a rpg?

1190


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1718


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

1105


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1130


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

1015


What is a record lock error?

1760