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

records can be read/update/deleted with which file?

0 Answers   IBM,


Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO

1 Answers  


where exactly we can use OPNQRYF ?

3 Answers   TCS,


How do you use DEBUG utility?

1 Answers  


what do we can do with the embedded sql statements?

0 Answers   IBM,






what is a primary file?

1 Answers   IBM,


What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


what is the purpose of dynslt keyword?

1 Answers   IBM,


How can you check the existence of object in a system?

1 Answers  


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

0 Answers   ITTI Pvt Ltd,


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

3 Answers   IBM, Valtech,


What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 Answers  


Categories