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 / swetha p rao

Answer is b

compile time error as data types doesnt match

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define subsystem?

1033


How to reverse a string using RPG?

689


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2181


What is program status data structure(psds) in as400?

607


how to define to define a hidden filed in dspf ?

780






is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

608


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

751


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2413


How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?

705


an access path may be in which sequence?

633


how do handle file exception/error?

647


what is externally described file ?

935


what is the difference between sflclr and sflinz?

1036


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

1915


How can we change the uppercase to Lowercase in RPG?

930