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
Answers were Sorted based on User's Feedback
Answer / swetha p rao
Answer is b
compile time error as data types doesnt match
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / guest
The correct amswer is-b
B'cos passed data item should be character type.
Is This Answer Correct ? | 6 Yes | 0 No |
how to declare a constant variable in the freeformat?
how to get the cursor position?
Space & Skip Are Which Level Keywords?
what is the maximum number of files allowed in rpg?
What is the use of jdftval in as400?
Can anybody know difference between SNDUSRMSG AND SNDPGMMSG IN CL PROGRAMMING? IF DON'T KNOW MAIL ME @ gkarthik.as400@gmail.com
What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?
what are various techniques to pass parameters from one program to another?
What are the two types of read performed on data queues?
Difference Between Skip Before & Space Before?
How to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100
Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO