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 do I play {insert rpg system here}?

0 Answers   IBM,


can i use UPDDTA command in rpg program in which contains a file

1 Answers   TCS,


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


What is the difference Return and InLr?

3 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

6 Answers   HSBC,


When it is desirable to describe files Internally?

0 Answers  


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

3 Answers  


I have learnt through Net that Debugging a Batch job involves 1. Submit the job with the HOLD (*YES) parameter: SBMJOB HOLD(*YES) or Hold the job queue that before submitting the job by using the HLDJOBQ command. 2. Determine the job name, user, and number of the submitted job by using the WRKSBMJOB command. 3. Type the Start Service Job command on your screen: STRSRVJOB JOB(job name/user/number) 4. Type the Start Debug command on your screen: STRDBG 5. Release the job in the jobq. Type WRKSBMJOB and then put a 6 beside the job to be released and press enter, or, if the job queue was put on hold, release the job queue with the RLSJOBQ command. 6. A display appears when the job is ready to start, saying that you can now begin debugging the job. Press F10 to show the Command Entry display. 7. Now you can start debugging by entering an Add Break Point command: ADDBKP 8.ENDDBG 9.ENDSRVJOB I tried this for RPG/400 Program and up to six steps of the above it's ok,but for me no source is displayed and i typed DSPMODSRC in Command line but still i can't see the sourceif i press F.10 and enter command ADDBKP i don't know how to add break points through it,usually i add break points using F.6 for Interactive job debugs,but since this is batch i don't know sir,Please help me out. I was asked this question in a interview,i know only RPG/400 and i’m asking for debugging of RPG/400 program only sir. or is it only possible to debug BATCH RPG ILE JOB and it is not possible to debug BATCH RPG/400 JOB kindly help me out sir

4 Answers   HSBC,


can we use cl programming to update or delete physical files

12 Answers  


1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400

10 Answers   IBM, Tech Mahindra,


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


Categories