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
define subsystem?
How to reverse a string using RPG?
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...
What is program status data structure(psds) in as400?
how to define to define a hidden filed in dspf ?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
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?
an access path may be in which sequence?
how do handle file exception/error?
what is externally described file ?
what is the difference between sflclr and sflinz?
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...
How can we change the uppercase to Lowercase in RPG?