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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we are not able to perform insert delete and update operation in Join logical file?

935


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1041


what does defn do?

616


What Is The Error If We Don't Get Login Screen?

681


What is diff between EVAL & MOVE?

973






what are the three types of keywords associated with printer file ?

1012


Apart from opening of a file do we have any other use of USROPN?

960


define what a data queue is along with a brief example of what it may be used for?

1074


what is a non-join logical file?

979


what are necessary keywords to code message subfile?

1033


what is the use of unique keyword and what level it is defined?

924


define the purpose of the *cat function?

986


how will you find a string using pdm?

695


What is dynslt?

788


Difference Between Interactive & Batch Job?

791