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
http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?
what are the three line types in rlu ?
how you will know whether you are in sfldrop or sflfold mode?
what is rpg fixed logic cycle?
how can we run a batch job?
what is a query can be run in which mode?
is it possible to create a physical file without dds?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
what does check opcode do ?
which are the member types which seu supports?
What is compiler directive in as400? Give example of compiler directive.?
how can I predict the performance of my cgis?
how to write *pssr ?
what is the maximum number of subroutines allowed in rpg?
What is difference between rename and prefix?