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 / karthik
FIRST Thing is "%TRIM" is valid only for
CHARACTER type variables...
so here your variable is DECIMAL... so while COMPILATION TIME ERROR OCCURS....
MSG: The parameter for %trim is not valid..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the purpose of data structure?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
what is arrival sequence?
A join logical file has how many record formats?
what is externally described file ?
explain the purpose of keep and assume keywords?
what is the difference between udate and the system date?
the maximum number of subfiles that can be active for a single file is ____ .
What is difference between rename and prefix?
what opcode will be used to test the zone of a character field?
what is a physical file?
define the rcvf command?
how many files can be defined in f specs?
can you display a empty subfile?
when are the referential constraints executed?