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 |
What is the difference between RPG/400 and RPG4
can we perform CHAIN operation on Subfile record format....?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
how do I play {insert rpg system here}?
WHAT IS MEANT BY SIGNATURE VAILOTION ERROR
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
can anybody help me that what is the procedure of debugging the service program?
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
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
Need a sql query: retrive all duplicate records in table
What are the commands that can be executed in CLP but not in RPG? Why?