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.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
1.The questions have given an array declaration and move operation then this statement is correct or not?
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
i would like to know under what circumstance the object will get locked on AS400.
How to search particular records from the database file in rpg?
Can we have a Physical file without any member ? Please let me know
How do you call procedures in ILE?
What is journalling and commitment control?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
how do you use commitment control in rpg?
What is ment by record level identifier?
3 members in a databasefile .how to read records from all the members?????????