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 |
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
What is the significance of UDATE?
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?
how does the rpg element work?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?
How to declare the more than one file in cl/400.
How can i check the object existance in RPG program without using QCMDEXC command.
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?