How to concatenation one or more string?

Answer Posted / nagaraj ramamoorthy

using concatenate operator

e.g string1||strting2||'string3'

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1949


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6837


Describe the cobol database components?

682


How can you get the ksds file records into your cobol program?

644


What is the use of intialize verb?

751






What are various search techniques in cobol? Explain.

650


What is a report item?

741


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8660


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


Write the code to count the sum of n natural numbers.

703


How do you reference the fixed block file formats from cobol programs

709


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


How do you get the data to code the BMS macro?

1476


What is the difference between binary search and sequential search?

643


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780