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 does vldcmdkey means?
OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example?
what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?
what is the purpose of indicators in rpg?
What is Spool file, Why is it required?
define a output queue?
When would the ALL keyword be used?
Specify different indicators used in RPG?
how do you pass parameters in cl?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
What are the two types of read performed on data queues?
What is an ICF file?