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

What is the purpose of the following C/COPY QRPGSRC, ORDERR

1 Answers  


What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?

1 Answers   HCL,


What is library is as400? What are the types of library?

1 Answers  


How can we update a specific field in RPG?

0 Answers  


Can fields be concatenated INa logical file level?

1 Answers  






How to reverse the string in rpg

0 Answers  


Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.

1 Answers   IBM,


How to see all record formats used in a file?

1 Answers  


how to define global parameter in ile ?

0 Answers   IBM,


explain the use of dftwrt display keyword?

1 Answers   IBM,


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

0 Answers   ITTI Pvt Ltd,


how can u check no of records in a file?

0 Answers   IBM,


Categories