Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / anand

Answer is "b" - %Trim are used blanks at edges for the string.
And also you have to define 0(*zero) instead of 'O' as you
defined in D spec for zoned decimal.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when are the unique constraints executed?

1177


Difference Between Call & Sbmjob?

1339


What is the maximum number of subfiles that can be specified in a display file?

1985


How can we update a specific field in RPG?

1412


can a join logical file be updated?

1087


which are the relational operators in rpg?

1177


What is %CHECK?

1336


what is the purpose of overrides?

1833


In RPG How to read a records from a file without using read opcodes?

1569


what is procedure prototype and procedure interface.

1304


how can we run a batch job?

1239


what is rpg fixed logic cycle?

1272


can you have multiple key lists for a single file ?

1758


How to reverse the string in rpg

1887


define a output queue?

1675