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

1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword

1 Answers   CSC, CTS,


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 Answers  


how to change the length of the field in a physicalfile?

12 Answers  


difference between 1:%found and %equal built function in detail with example .

6 Answers   Polaris,






How to index LF by relative record no (RRN)

1 Answers  


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


What is the purpose of PUTOVR keyword?

2 Answers  


suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?

3 Answers  


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  


Categories