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 DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?

6 Answers   CTS,


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

0 Answers   IBM,


diffrence between rename and prefix

2 Answers  


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

0 Answers  


what is the use of CPYFRMQRYF?

4 Answers  


which cl command can be used at program execution to redirect the file named in an rpg program?

0 Answers   IBM,


give three main purposes of file specification ?

1 Answers   IBM,


what does check opcode is used?

1 Answers   IBM,


what is jurnal?what is the use of theis?what is difference between commitment control and jurnaling?

2 Answers  


what is multijoin logical file? what are the keywords available in joinlogical file? what are the mandatary keywords for joinlogical file? explai the keywords?

2 Answers   HCL,


What is file information data structure(infds) in as400?

0 Answers  


Can an indexed file be accessed in arrival seQuence in RPG program ?

1 Answers  


Categories