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


Please Help Members By Posting Answers For Below Questions

do you use message subfiles? What are the necessary keywords required coding a message subfile?

681


what is the necessary keyword needed to scroll subfile records?

695


what is the procedure and explain about real time scenario.

1473


what is program status data structure?

1370


What is the difference between copybooks and subprocedures in as400?

801






what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


How many program bind in one module....

2115


how can you display specific subfile page on the screen in unequal subfile?

671


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

712


How Chain operation copies the record's data to the input buffer for the program?

1076


is this a rpg channel?

669


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

1885


What are the types of identifiers?

566


When it is desirable to describe files Internally?

1182


What is file identifier where we can use?

639