What is primary file? How many primary file can be declared
in a RPG program?
Answers were Sorted based on User's Feedback
Answer / samul
When Primary file is declare ,it will process and read as
per the RPG logic lcycle.
We can declare only one primary file in program.
Cheers ....
| Is This Answer Correct ? | 29 Yes | 2 No |
Answer / kar4u
Primary file concept comes from JOIN LOGICAL FILE..
In JOIN LOGICAL FILE in JFILE(pf1,pf2,pf3)
in that pf list which file you write FIRST is called Primary file..
we can use only one PRIMARY FILE in rpg program
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / chinnu
We can use only one Primary File in a program.
When a primary file is declared, it wont follw RPG Logic
Cycle.It will be a stepwise execution from beginning to end.
| Is This Answer Correct ? | 4 Yes | 7 No |
What is the exact difference between Service Program and Binding Directory?
How to create a data queues?
What are the steps to retrieve the records from Journal file...?
How can we arrange duplicate records in a file?
How can we sort an array?
what is the necessary keyword for non-join logical file?
An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?
how does the runqry show the output?
What are Control level indicators?
which are the string manipulation opcodes?
What are the two types of read performed on data queues?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?