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

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



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

1020


What is ment by record level identifier?

655


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.

2052


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

490


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

688






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

1562


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1969


what is a rpg?

702


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?

493


can I touch the array during treatments?

758


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

2726


When it is desirable to describe files Internally?

1189


what is file information data structure?

1374


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?

509


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

1895