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 / guest

The correct amswer is-b
B'cos passed data item should be character type.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you specify no duplicate key?

799


What is RETURN CURSER LOCATION in subfile?

1171


what is the difference between packed decimal and zoned decimal?

2465


what is the use of sflend keyword?

1147


what is the maximum number of records you can specify in a display file?

1311






what are different record spacing keywords in rlu ?

1393


records can be read/update/deleted with which file?

736


what is join logical file?

1219


what is a non-join logical file?

1113


what is maximum number of arrays allowed in rpg?

1365


different type of cursor?

721


why do we use readc? What is sflnxtchg?

768


is there any way to dynamically merge other html scripts into a given html?

699


A join logical file has how many record formats?

703


what is *inzsr used for?

1709