Answer Posted / syam
The events that happen in any particular programs occur
in exactly the same order as in every other RPG program.
This order is known as the Logic Cycle.
What makes one program different from another is
that "indicators" or switches are turned on or off, based
upon tests performed on the data being processed, which
cause or prevent input, calculation, or output events at
specific points in the cycle.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the difference between crtdupobj and copyf?
what is the maximum number of subfiles that can specified in a display file ?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
Apart from opening of a file do we have any other use of USROPN?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
why do we use readc? What is sflnxtchg?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
what is elastic and non elastic subrile?
which are control break logic indicators?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
what is the purpose of data structure?
What is access path in as400?
what is scan and xlate?
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.
what are the different opcodes available in rpg for database access ?