Anybody know the difference of primary file and full
procedural file

Answers were Sorted based on User's Feedback



Anybody know the difference of primary file and full procedural file..

Answer / syam

Primary File = Record will be processed in order strarting
to end by rpg program control(open,read,process,close).
User can't change this order.
Full Procedual file = User can control any order by rpg
program opcode. User can change any order by rpg opcode.

Is This Answer Correct ?    22 Yes 2 No

Anybody know the difference of primary file and full procedural file..

Answer / sudhir

Full Procedure File...
FFilename++IPEASF.....L.....A.Device+

FELASAV IF E DISK

Primary File..
FVENDOR3 IP E DISK

Is This Answer Correct ?    7 Yes 0 No

Anybody know the difference of primary file and full procedural file..

Answer / ld123q44

With a primary file the file is processed seqentially record
by record and programs automatically ends when all records
have been read. There can only one primary file in a program.

With full procedural files the programmer determines which
record or a block of records to be read by way of the value
of the key field used. If a program has only full procedural
files, the programmer has to explicitly close the file.

Is This Answer Correct ?    5 Yes 2 No

Anybody know the difference of primary file and full procedural file..

Answer / pp

can i get syntax/code for both primary file and full procedure file.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More RPG400 Interview Questions

WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


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,


How to select highest score of each subject or how to select highest income of every month?

0 Answers  


What is the syntax of passing parameters to a procedure by value?

1 Answers  


while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue

1 Answers  






why we do STRSRVJOB in batch debugging in as400

1 Answers  


What is a record lock error?

0 Answers   Wipro,


How to write record if no field or the field are different in physical file in rpgle ?

0 Answers  


The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


How can we change element of compile time array?Can we do so

1 Answers   TCS,


Can anybody tell me that why we use option(*nodebugio)in H- Spec?

3 Answers  


can I touch the array during treatments?

0 Answers   IBM,


Categories