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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of the indara keyword?

1678


how to define to define a hidden filed in dspf ?

1260


define subsystem?

1553


How to avoid using indicators in ile ?

1217


what is sflrolval?

1022


how do you use commitment control in rpg program ?

1980


what do we can do with the embedded sql statements?

1010


how can I control the way a remote browser uses its cache?

1111


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

3419


what does opcode post do ?

1699


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

1001


What Is Ddm ?

1608


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2463


what is externally described file ?

1594


What is array in as400? What are the types of array?

1061