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 to retrieve RRN value in RPGLE program

Answer Posted / narendra

There are many ways to retrieve the value of RRN in RPG. One way is to use the INFDS (File information data structure) and in data structure define the RRN from pos 397 to 400.
Another way is to use the Keyword RECNO(RRN) while defining the file in the F Spec.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1608


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

956


is this a rpg channel?

1173


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.

2524


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

1261


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1895


what is the difference between do while and do until?

1257


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

967


What is file identifier where we can use?

1133


What are the types of identifiers?

1023


What is the difference between iter and do?

1213


What is the purpose of record level identifier?

1128


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1310


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

946


How would display prime numbers using CL program?

6328