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

The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help...

1 Answers  


how do you pass parameters in cl?

1 Answers   IBM,


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

0 Answers  


Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?

2 Answers   CTS,


268 How many parameters can be defined in a RPG program. ?

1 Answers  






is there any way to dynamically merge other html scripts into a given html?

0 Answers   IBM,


what is the necessary keyword for non-join logical file?

1 Answers   IBM,


how many levels are there in a physical file?

1 Answers   IBM,


what is term cua , saa?

1 Answers   IBM,


what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)

2 Answers   IBM,


Specify different indicators used in RPG?

1 Answers  


What does SDA stands for ?

1 Answers  


Categories