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 are Control level indicators?
which are the figurative constants used in rpg?
How to reverse the string in rpg
What are the two types of read performed on data queues?
when would you prefer logical file than opnqryf?
How can you identify End of file in CLP program?
How can we change the uppercase to Lowercase in RPG?
describe the difference between the dowxx and douxx operations?
What the difference between Source Physical File and Physical File?
What is the symbol used for shifting fields in SDA?
give three main purposes of file specification ?
If login Screen has been modified by adding current date to be displayed. What Step to be followed to Keep that date as Current date Note: If no steps taken then it will display only the compilation date