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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.
check existence of one record without using chain or read?
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
how do I play {insert rpg system here}?
What is the Record Address file. How can we use it in RPG program?
what is commitment control?explain about it?
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.
how to change the length of the field in a physicalfile?
what is the difference between SETON RT & RETURN?
how can you display specific subfile page on the screen in unequal subfile?