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


Please Help Members By Posting Answers For Below Questions

What Does 'sr' In Columns 7-8 Of C Specs Mean?

1062


define the purpose of the iter operation?

1012


can you display a empty subfile?

783


Difference Between Call & Sbmjob?

770


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

561






what are dds required for subfile?

578


what are the different methods to access seu?

622


What Is The Purpose Of The "n" In The Following Calculation Specification?

668


what is sflrolval?

643


what is term cua , saa?

948


what are the three types of keywords associated with printer file ?

1006


What is array in as400? What are the types of array?

621


how can a cgi check whether an ifs object is available?

635


what is match field indicator?

1011


what is the maximum number of record formats in dspf?

987