What is the Record Address file. How can we use it in RPG
program?
Answers were Sorted based on User's Feedback
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 |
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 |
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 hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
what are the array operations?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
what is the necessary keyword needed to scroll subfile records?
how do u track msg in cl pgm???
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
Explain mdt?
What is the name of default out queue when user logs inn to syatem with valid profile?
How to update physical file in rpgle without using display file?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.