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


if &var='good++++' &var2='day' &var *cat &var2
&var1 *tcat &var2 what is output

Answers were Sorted based on User's Feedback



if &var='good++++' &var2='day' &var *cat &var2 &var1 *tcat ..

Answer / naveen chandra joshi

your question:
Var1 = 'Good '
var2 = 'day'

Answer:
Var1 *cat Var2 = 'Good day' (Included trailing spaces in
first variable)
Var1 *tcat Var2 = Goodday (Removed Trailing spaces from
first field).

Is This Answer Correct ?    4 Yes 0 No

if &var='good++++' &var2='day' &var *cat &var2 &var1 *tcat ..

Answer / deeban

1.space as such in first string
2.no space

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What controls which printer a report goes to?

4 Answers   Wipro,


What are the types of object authorities?

1 Answers  


what are necessary keywords to code message subfile?

1 Answers   IBM,


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  


What is the difference between a Physical File & a Logical?

28 Answers   Accenture, ACS, IBM,


how will you add a field to physical file already containing data?

1 Answers   IBM,


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

0 Answers  


how you will know whether you are in sfldrop or sflfold mode?

0 Answers   IBM,


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

1 Answers   IBM,


DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM...when using binding directory service pgm is necessary?

2 Answers   CTS,


What is the necessary keyword used in a physical file to refer field definitions from the field reference file?

1 Answers  


how many specifications are there in rpg/400? What are they?

1 Answers   IBM,


Categories