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.
Related Articles
What is difference between fully procedural file and primary file?
In primary file the records will be read and processed from beginning to end. This order is not changed. In fully procedural file the records will be read and processed in any order. The logic flow is controlled by the opcodes in RPG program.
What is the difference between array and a multiple occurrence data structure?
The values stored in array don’t vary. In the other hand, we can store the Different values in same variables at various stages.
How can you detect and handle a record lock situation?
If you try to read the locked record, we can get system defined message i. e. , the program will ended abnormally. With the help of File Information Data Structure we can handle record lock situation. Generally it will happen, when the same file of type ” U” used in different programs.