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 does check opcode do ?
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
what is the purpose of DMPCLPGM IN CL?
what is a non-join logical file?
How to see all members of a file?
how you get the relative record in a subfile in which cursor is located?
Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM
I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?
what are the necessary keywords for the join logical file?
What is a Join Logical File, Can it be used for Update ?
Apart from opening of a file do we have any other use of USROPN?
How to create a data queues?