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 is clile code get last digit in numarice value

Answers were Sorted based on User's Feedback



what is clile code get last digit in numarice value..

Answer / remya

DCLF FILE(DSP) RCDFMT(RECDSP)
DCL VAR(&X) TYPE(*DEC) LEN(2 0)
DCL VAR(&Y) TYPE(*DEC) LEN(2 0)

L1:SNDRCVF RCDFMT(RECDSP)
CHGVAR VAR(&X) VALUE(95)
CHGVAR VAR(&Y) VALUE((&X/10)*10)
CHGVAR VAR(&Y) VALUE(&X-&Y)
GOTO CMDLBL(L1)

Is This Answer Correct ?    2 Yes 2 No

what is clile code get last digit in numarice value..

Answer / maha

Runsqlstmt (Runqry *n file (*summary))

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is the difference between seton lr and retrn?

1 Answers   IBM,


what is join logical file?

1 Answers   IBM,


how do u compile rpgle program?

0 Answers   IBM,


Suppose we have field reference file we were any changes that corresponding Physical file then what will Happen in field reference file??

5 Answers   IBM,


define the purpose of the iter operation?

1 Answers   IBM,


What are the valid data types in Data Queue?

1 Answers  


what is a primary file?

1 Answers   IBM,


What is purpose of declarative statement DEFN?

1 Answers  


How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?

1 Answers  


what opcode will be used to test the zone of a character field?

1 Answers   IBM,


What is Sub-System?

1 Answers  


at what level s,o are defined and what they will do?

1 Answers   IBM,


Categories