Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?

2 Answers   Bally Technologies,


whare we can use IN AND OUT AND UNLCK opcodes?please can any body tell me in real time senario with example

2 Answers  


does we use case stmt in cl

1 Answers  


which single rpg opcode performs both setll and reade?

1 Answers   IBM,


what is the use of CPYFRMQRYF?

4 Answers  


What is the purpose of STRCMTCTL command?

1 Answers  


What is the purpose of USROPN keyword?

1 Answers   CTS,


what are indicators?

0 Answers   IBM,


what is join logical file?

1 Answers   IBM,


how will you display a particular page in subfile ?

1 Answers   IBM,


Where would you use Override Data Base File?

4 Answers  


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.

0 Answers  


Categories