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
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the necessary keyword needed to scroll subfile records?
what is the procedure and explain about real time scenario.
what is program status data structure?
What is the difference between copybooks and subprocedures in as400?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How many program bind in one module....
how can you display specific subfile page on the screen in unequal subfile?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How Chain operation copies the record's data to the input buffer for the program?
is this a rpg channel?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
What are the types of identifiers?
When it is desirable to describe files Internally?
What is file identifier where we can use?