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 |
what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?
during input operation which indicator position is seton if there is a record lock?
what are the different types of arrays available in rpg ?
when should I use method get, and when should I use method post in my cgis?
How can we find from which source the program has been compiled for a given RPGLE program object?
I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?
what is data structure?how many types of data structers?
what is the function of cpyf command?
I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?
what is arrival sequence?
what are activation group and what are its types.?
what are the three types of keywords associated with printer file ?