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

i have a file with the values 10, 20, 30, 40, if am setll with
the value 25 then readp, so what it will return?

Answer Posted / kumar

The Answer is 20.
This is the code I tried and the answer is 20

 FEmpLF1    if   E           K Disk                   
 c                   move      25            EMPID    
 C     EMPID         SETLL     Emprec                 
 C                   READp     Emprec                 
 C     *IN80         IFEQ      *OFF                   
 C     EMPID         DSPLY                            
 c                   endif                            
 c                   eval      *INLR = *ON            

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1705


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?

1905


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1121


What are the types of identifiers?

1006


is this a rpg channel?

1154


What is the purpose of record level identifier?

1113


what is the rpg system?

1257


Explain mdt?

1111


how do I preserve and clean the array?

1130


How would display prime numbers using CL program?

6297


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?

937


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

1129


what is the necessary keyword needed to scroll subfile records?

1137


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

1002


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

1241