What is primary file? How many primary file can be declared
in a RPG program?

Answers were Sorted based on User's Feedback



What is primary file? How many primary file can be declared in a RPG program?..

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

What is primary file? How many primary file can be declared in a RPG program?..

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

What is primary file? How many primary file can be declared in a RPG program?..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

when do you explicitly open files and close files in an rpg program?

1 Answers   IBM,


what are the different opcodes available in rpg for database access ?

1 Answers   IBM,


What is the difference between non-join logical files and join logical files?

0 Answers  


Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?

3 Answers   Keane India Ltd,


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?

2 Answers   CTS,






diffrence between rename and prefix

2 Answers  


What is acronym of RPG?

1 Answers  


how do you use commitment control in rpg program ?

1 Answers   IBM,


Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%

1 Answers  


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?

1 Answers   IBM,


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1 Answers   IBM,


Categories