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 the difference between seton lr and retrn?
what is join logical file?
how do u compile rpgle program?
Suppose we have field reference file we were any changes that corresponding Physical file then what will Happen in field reference file??
define the purpose of the iter operation?
What are the valid data types in Data Queue?
what is a primary file?
What is purpose of declarative statement DEFN?
How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?
what opcode will be used to test the zone of a character field?
What is Sub-System?
at what level s,o are defined and what they will do?