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 the RPG cycle?

Answers were Sorted based on User's Feedback



What is the RPG cycle?..

Answer / bharat

It is RPG400 Logic means it is a compiler logic through
which system reads the primary file starting from begining
to end of file. No File operations like read/chain can be
used.System has the control of the program.

Is This Answer Correct ?    12 Yes 5 No

What is the RPG cycle?..

Answer / yogesh

Unless it has a NOMAIN the cycle runs -- here is the short
list of cycle stuff
it does some initialization
opens files
runs *INZSR
runs first statement
does some stuff when *inlr is on and end or return is
reached

If the F spec has a P then it automatically reads records
from that file
It can also automatically write stuff to a report and do
control breaks ...
So back a ways there were programs written with F-specs I-
specs and O-specs and the program did as the name implies -
(Report Program Generator).

Is This Answer Correct ?    6 Yes 0 No

What is the RPG cycle?..

Answer / svankipu

Simply put; RPG-Cycle is a default system cycle, which takes
care of all these below without having the programmer to
write the code

1)Opening a file(must be declared as PRIMARY)
2)Reading it & process it
3)Do any calculations/print reports automatically
4)Closes the files
5)Ends the program

this cycle is also called as RPG-Logic-cycle or
RPG-Life-Cycle or Default-Cycle or System-cycle.
Different people have different reservations about it's name.

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More RPG400 Interview Questions

1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 Answers  


What is the purpose of FRCDTA keyword?

3 Answers   IBM,


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


How to index LF by relative record no (RRN)

1 Answers  


what is importance of 'MAPFLD' IN OPNQRYF FILE ?

2 Answers  


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


how do u find whether a record is locked or not??/

5 Answers   CTS,


can we use cl programming to update or delete physical files

12 Answers  


i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

2 Answers   IBM,


Categories