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 *place and *auto keyword in prtf ?plz explain

0 Answers   CSC,


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


Difference between RESET and CLEAR

1 Answers   TCS,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  






How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


How Chain operation copies the record's data to the input buffer for the program?

0 Answers   IBM,


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


Categories