What would be the output of the variable result?
D RESULT S 5S O INZ(00011)
C EVAL RESULT = %TRIM(RESULT)
Please give me the correct answer for this
A.0001
b.compile time error
c.11
d.Runtime error
Answer Posted / anand
Answer is "b" - %Trim are used blanks at edges for the string.
And also you have to define 0(*zero) instead of 'O' as you
defined in D spec for zoned decimal.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
describe the difference between the dowxx and douxx operations?
what are the different commands used in rlu ?
what are members?
Difference Between Source Physical File & Physical File?
how can you execute a command from within an rpg program without calling a clp program?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
what is the purpose of the indara keyword?
how do you read changed records backward in subfile?
What is binder language ?
what is sflpag and sflsiz ?
what is the maximum number of parameters allowed in rpg?
what is sflrolval?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
in which specification the report layout can be defined?