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...


How can you determine the number of characters in a variable?

Answers were Sorted based on User's Feedback



How can you determine the number of characters in a variable?..

Answer / abhishek bajpai

Use
%Len(%Trim(Variable)) to get the exact number of characters
in a variable

Is This Answer Correct ?    14 Yes 0 No

How can you determine the number of characters in a variable?..

Answer / mahalakshmi

%CHECKR() with factor1 as blanks

Is This Answer Correct ?    0 Yes 0 No

How can you determine the number of characters in a variable?..

Answer / kcsyam

use Built-in-function %LEN()

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More RPG400 Interview Questions

wat is the difference between dataarea and data queue?

5 Answers   Airtel, Four soft, Shahi Exports,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


When it is desirable to describe files Internally?

0 Answers  


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E

1 Answers  


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


how to change the length of the field in a physicalfile?

12 Answers  


What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?

1 Answers   IBM,


in which journalling which attributes are necessary

2 Answers   CTS,


Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?

3 Answers   Steria,


Categories