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


What is the Record Address file. How can we use it in RPG
program?

Answers were Sorted based on User's Feedback



What is the Record Address file. How can we use it in RPG program?..

Answer / ipsita

A record address file contains either key-field limits or
relative record
numbers of records in a DISK file. By providing these
key-field limits or relative record numbers to the program,
a record
address file tells the program the records to read from the
DISK file and
the order in which to read them. A program can use no more
than one
record address file. Record address files must be further
defined on
extension specifications.

A record address file must be an input file. If it contains
key-field
limits, it must use the DISK or CONSOLE device and can be
used only with
indexed files. If it contains relative record numbers, it
must use only
the DISK device and can be used with sequential, direct, or
indexed files.
Record address files that contain relative record numbers
are called
addrout (address output) files, and they are produced by a
sort program

Is This Answer Correct ?    4 Yes 0 No

What is the Record Address file. How can we use it in RPG program?..

Answer / jai

Record Address File
===================
Using this We can get records by starting records and ending
records. Example A PF has 2,00,000 records. I want to read
1,00,001 to 2,00,000 means we use record address file

Is This Answer Correct ?    2 Yes 0 No

What is the Record Address file. How can we use it in RPG program?..

Answer / syam

Position 18 in "F Specification" = R

A record-address file is a sequentially organized file used
to select records from another file. Only one file in a
program can be specified as a record-address file.

Is This Answer Correct ?    1 Yes 0 No

What is the Record Address file. How can we use it in RPG program?..

Answer / sai

It specifies the Order of Records retrieval from PF.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

how to retrieve RRN value in RPGLE program

3 Answers  


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


i would like to know under what circumstance the object will get locked on AS400.

5 Answers   IBM,


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out

4 Answers   Virtusa,


How to print output from openquery in as400 ?

1 Answers   Four soft,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


Can we possible to key with the date field?

1 Answers   IBM,


I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


Categories