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
how you will find an error which is not in the first page of the subfile without using rolldown key?
how will you search an array?
how to define to define a hidden filed in dspf ?
what are the different methods to access seu?
which are the member types which seu supports?
how to toggle between single line and multi - line display of a particular record in a subfile?
which of the cl command can be used to determine which logical files are dependent on a specific file?
what keyword must be used with protect keyword ?
what is the disadvantage of using global variable?
how do you use exceptional write in c specs?
what are the various types of device files?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
WHAT IS FERERENTIAL INTRIGRITY ?
how you get the relative record in a subfile in which cursor is located?