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 / karthik
FIRST Thing is "%TRIM" is valid only for
CHARACTER type variables...
so here your variable is DECIMAL... so while COMPILATION TIME ERROR OCCURS....
MSG: The parameter for %trim is not valid..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is a spool file?
what is externally described file ?
define the purpose of the *cat function?
what is the use of unique keyword and what level it is defined?
Can you summarize the steps I have to go through in writing my first cgi?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
can you display a empty subfile?
what is term cua , saa?
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...
how can u check no of records in a file?
what is *iso date format?
what are the three types of keywords associated with printer file ?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
what is message subfile?