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
what are dds required for subfile?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
which are the relational operators in rpg?
how can we run a batch job?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how will you find a string using pdm?
What is the draw back of Procedures? why we are going to Modules?
what is sflpag and sflsiz ?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
what is elastic and non elastic subrile?
when are the referential constraints executed?
when should I use method get, and when should I use method post in my cgis?
how can you check for a records existence without causing and i/o (chain/read)?
how you will know whether you are in sfldrop or sflfold mode?
what is the syntax for plist?