Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷..

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

What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷..

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

Post New Answer

More RPG400 Interview Questions

What is the difference between RPG/400 and RPG4

1 Answers   HCL,


can we perform CHAIN operation on Subfile record format....?

4 Answers  


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.

2 Answers  


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?

1 Answers  


how do I play {insert rpg system here}?

0 Answers   IBM,


WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


can anybody help me that what is the procedure of debugging the service program?

3 Answers   CSC,


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

3 Answers  


1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

5 Answers   Cap Gemini,


Need a sql query: retrive all duplicate records in table

3 Answers  


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


Categories