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 opcode will be used to test the zone of a character field?

1 Answers   IBM,


How can we sort an array?

1 Answers  


What is the purpose of SFLNXTCHG keyword in a subfile?

1 Answers  


How can we arrange duplicate records in a file?

0 Answers  


What is the Difference between command attention key and command function key ?

0 Answers   IBM,


how many maximum spaces could be given in o specs?

0 Answers   IBM,


what is the difference between clear and reset opcodes and open and close opcodes?please tell me in real time senario with example please? And What is the use of SFLNXTCHG?Where we can use this?

4 Answers   IBM,


Hey, What is the difference between SCAN,CHECK,XLATE OPCODES? please give me the answeres with example in real time senario?

1 Answers  


how to insert the data in pf by using cl program

2 Answers   TCS,


What is SFLSIZ ?

1 Answers  


How can we create subsystem in as400?

1 Answers  


What is acronym of RPG?

1 Answers  


Categories