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

1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?

1 Answers   NetCracker,


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,


Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?

2 Answers   Cap Gemini,


What is the RPG cycle?

3 Answers   CSC,


1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?

1 Answers   HP,






purpose of pannel group??/

2 Answers   CTS,


How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

5 Answers   TCS,


I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

2 Answers  


what is post opcode do

1 Answers   CTS,


Categories