Anybody know the difference of primary file and full
procedural file
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / pp
can i get syntax/code for both primary file and full procedure file.
| Is This Answer Correct ? | 0 Yes | 2 No |
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
How to select highest score of each subject or how to select highest income of every month?
What is the OPEN and CLOSE accesspath?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
what is batch debug in as400?
HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?