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
what is the purpose of the indara keyword?
how to define to define a hidden filed in dspf ?
define subsystem?
How to avoid using indicators in ile ?
what is sflrolval?
how do you use commitment control in rpg program ?
what do we can do with the embedded sql statements?
how can I control the way a remote browser uses its cache?
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
what does opcode post do ?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
What Is Ddm ?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
what is externally described file ?
What is array in as400? What are the types of array?