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

I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,


1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?

1 Answers   HP,


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

3 Answers  


what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?

3 Answers  


Need a sql query: retrive all duplicate records in table

3 Answers  


Anybody can explain the difference between SFLCLR & SFLINZ?

7 Answers  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

5 Answers   Hexaware,


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


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

12 Answers   IBM, Opus,


this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002

1 Answers  


How to search particular records from the database file in rpg?

2 Answers  


Categories