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 |
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
what is an online rpg?
can we use cl programming to update or delete physical files
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
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
are there any useful c runtime apis that I can call from rpg iv?
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
how can an indexed file be used as arrival sequence in RPG?
in rpg could u please tell me errors types and meanings like 3030 that ....
wat is meant by hidden field , why it is used?
How to identify the object has compiled with the debug view as *source without using STRDBG?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?