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

What is difference between rename and prefix?

578


define the purpose/use for sflrna?

1002


define the purpose of the *cat function?

976


What is the Difference between command attention key and command function key ?

771


What are the types of data structure in as400?

537






what are the different types of variables available in cl?

1000


name few ibm supplied libraries?

1207


a multiple format logical file is also known as?

587


what is the purpose of the indara keyword?

1121


define what a data area is along with a brief example of what it may be used for?

954


What Is The Object Type Of Pf, Lf, Printer File & Display File?

699


how to validate input values in display file ?

663


what is cab?

659


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

580


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

403