What is difference between CAT, TCAT, BCAT?



What is difference between CAT, TCAT, BCAT?..

Answer / sushama

CAT Concatenate two variables or constants into one continuous string.

BCAT Truncates all trailing blanks in the first character string, one blank is inserted, then the two character strings are concatenated.

TCAT Truncates all trailing blanks in the first character string, the two character strings are concatenated.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..

2 Answers   ISE,


How can u create a temporary file in CLP @ how to access that temporary file in RPG program?

4 Answers  


How to see all members of a file?

1 Answers  


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

0 Answers   IBM,


what is match field indicator?

1 Answers   IBM,






how to write code for singlepage in sqlrpgle with update ?

0 Answers  


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

0 Answers  


Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO

1 Answers  


What is the Difference between command attention key and command function key ?

0 Answers   IBM,


What is the use of Header Specification in RPG/400?

1 Answers  


the maximum number of subfiles that can be active for a single file is ____ .

1 Answers   IBM,


Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


Categories