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

1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what command is used to define a data in cl pgm? 4.What type of command is used in page at a time subfile and load all subfile?

2 Answers  


Diff B/w ref and reffld?

1 Answers  


what is procedure prototype and procedure interface.

0 Answers   IBM,


What is the difference between array and a multiple occurrence data structure?

1 Answers  


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

0 Answers  


the maximum number of subfiles that can be active for a single file is ____ .

1 Answers   IBM,


what is the command used to invoke rlu ?

1 Answers   IBM,


What is the maximum length of a variable name in CL?

1 Answers  


What is the purpose of USROPN keyword?

1 Answers   CTS,


A phisical file has two fields like 1) Account No(10,0) 2)Phone No(15,0)Unique on both fields?Please give me the answer for this?

3 Answers  


what is a join logical file?

0 Answers   IBM,


How to avoid using indicators in ile ?

0 Answers   IBM,


Categories