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 is Spool file, Why is it required?

1 Answers  


under given circumstances, my cgi should link to another site. How to implement this?

0 Answers   IBM,


what is xfoot opcode ?

1 Answers   IBM,


How to inner join more than 2 PFs in a CL program using OPNQRYF command?

1 Answers  


I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?

13 Answers   Mind Tree,






What are the types of object authorities?

1 Answers  


give three main purposes of file specification ?

1 Answers   IBM,


What is the difference between Physical and Logical files ?

1 Answers  


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

2 Answers   IBM,


what is rpg ?

1 Answers   IBM,


What is Data Area?

1 Answers  


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

0 Answers  


Categories