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 |
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
what is the procedure and explain about real time scenario.
0 Answers Adhoc Technologies, Hanuman Automation, HSBC, IBM,
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
How to call one program from another program in RPG? please help me with the code
How do you know if a record exists without doing a READ and CHAIN?
1.The questions have given an array declaration and move operation then this statement is correct or not?
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
How can we call CL program to RPG? How many number of parameter we can pass
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"