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
Write a logic program for knowing the repeated number of a vowels in a given program?
what is overlay?
how to read database records without locking them?
How can we arrange duplicate records in a file?
which are the query selection criteria, which can be given in a query?
what is the favicon.ico request that my site receives now and then?
what is a logical file?
What is %CHECK?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
In RPG How to read a records from a file without using read opcodes?
how do you read changed records backward in subfile?
how to develop some simple graphs (bar charts) using just html?
define the purpose of the leave operation?
how will you find a string using pdm?
What is file access opcodes?