what is clile code get last digit in numarice value
Answers were Sorted based on User's Feedback
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 DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
diffrence between rename and prefix
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
what is the use of CPYFRMQRYF?
which cl command can be used at program execution to redirect the file named in an rpg program?
give three main purposes of file specification ?
what does check opcode is used?
what is jurnal?what is the use of theis?what is difference between commitment control and jurnaling?
what is multijoin logical file? what are the keywords available in joinlogical file? what are the mandatary keywords for joinlogical file? explai the keywords?
What is file information data structure(infds) in as400?
Can an indexed file be accessed in arrival seQuence in RPG program ?