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 |
can i use unique key in LF
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
what do you mean by SESSION/DEVOCE ERROR?
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
How can we receive values from a called procedure in CL?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
What is the purpose of Panel Groups?
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
How would display prime numbers using CL program?