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

Hey, What is the difference between SCAN,CHECK,XLATE OPCODES? please give me the answeres with example in real time senario?

1 Answers  


What is the default access path of a file?

0 Answers  


when do you explicitly open files and close files in an rpg program?

1 Answers   IBM,


What is journaling & Commitment Control?

1 Answers  


Can we add or remove the module object from service Program..and how...?

4 Answers  






how to read database records without locking them?

1 Answers   IBM,


what is a keyed physical file?

1 Answers   IBM,


Hello friends, i am having 1 year experience in AS/400. Can any one send me the as400 interview questions to my email id:nagaraju20087@gmail.com

1 Answers  


what is difference between accespath and datapath? what is the difference between accespath and open datapath?

2 Answers  


Hi friends i have i question please reply me asap. what would be coding in DDS and programing part for this condition suppose that i have three fields in the display file(subfile)which has 7 record format. Condition is ''The supplier LOT, ISSUED TO PROD and LINE GRP fields in display file(Subfile) will not be shown if their respective fields are blank/zero in the record formats WIM311FM and Record format WIM311FM. I want coding part in DDS and Programing. Please reply me as soon as posible.

1 Answers   IBM,


List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased

1 Answers  


what is the command to know key fields of file?

0 Answers   IBM,


Categories