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

What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


how do I declare a minor?

0 Answers   IBM,






How do you code file / field renames in ILE RPG?

4 Answers   Accenture, IBM,


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


what is flat file?

1 Answers   IBM,


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

4 Answers  


How to handle duplicate error handling in RPG?

0 Answers  


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


Categories