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 |
when do you explicitly open files and close files in an rpg program?
what are the different opcodes available in rpg for database access ?
What is the difference between non-join logical files and join logical files?
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?
Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?
diffrence between rename and prefix
What is acronym of RPG?
how do you use commitment control in rpg program ?
Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%
write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")
6 Answers Bally Technologies, Cognizant, Vertex,
how can you execute a command from within an rpg program without calling a clp program?
What Is Default Data Type (if You Define Decimals '0') In Physical File?