What are the values of NUM1 and NUM2 after executing the
following code?
CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq
C MOVE *LOVAL NUM1 50
C MOVE *J-fIVAL NtJM2 52
Answer Posted / manish verma
The correct question should be:--
CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq
C MOVE *LOVAL NUM1 50
C MOVE *HIVAL NUM2 52
and the answer will be
num1= -99999
num2= 999.99
Conclusion is that whatever the size of the variable that
much 9's will be filled with (-)ve value for loval and
wuith (+)ve value for hival.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
how do I play {insert rpg system here}?
When it is desirable to describe files Internally?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the difference between iter and do?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
how can you display specific subfile page on the screen in unequal subfile?
How to write record if no field or the field are different in physical file in rpgle ?
what is the use of sflnxtchg?
Explain mdt?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How can we override a file during runtime in rpg?
How to declare the pull button in AS/400..
what is the necessary keyword needed to scroll subfile records?
what are the key words you must use when using a subfile?
what is the rpg system?