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 ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are the types of identifiers?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how do I preserve and clean the array?
What is ment by record level identifier?
how do you use commitment control in rpg?
how do I play {insert rpg system here}?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
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?
what is the use of sflnxtchg?
Explain mdt?
How to call one program from another program in RPG? please help me with the code
what is *place and *auto keyword in prtf ?plz explain
is this a rpg channel?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?