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...

1.Are there any errors in the following statement?If so
then list them.DTAARA is a data area having a field EMP #
and EMPNO is a
field in the file EMPPF.Which has one record.
READ EMPPF
IF %FOUND(EMPPF)
IN DTAARA
EVAL EMP#=EMPNO
OUT DTAARA
ENDIF

Answer Posted / amitava

First of all, %found() function is not set after the READ
operation. If not %eof() can be used instead.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1875


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

5081


What is the difference between iter and do?

1158


What is ment by record level identifier?

1095


what is the procedure and explain about real time scenario.

1900


How Chain operation copies the record's data to the input buffer for the program?

1555


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

911


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

1083


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

1089


how does the rpg element work?

1157


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1965


what do you mean by an input subfile, what are the keywords required?

1208


what is the difference between do while and do until?

1199


When it is desirable to describe files Internally?

1665


how do I declare a minor?

1119