How to concatenation one or more string?

Answers were Sorted based on User's Feedback



How to concatenation one or more string?..

Answer / dhasani

STRING verb.

Is This Answer Correct ?    8 Yes 3 No

How to concatenation one or more string?..

Answer / nagaraj ramamoorthy

using concatenate operator

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

Is This Answer Correct ?    3 Yes 1 No

How to concatenation one or more string?..

Answer / app

Suppose ther are two strings

string1=Anne
string2=Marrie


The command to concanate above strings is

String string1 delimited by size
string2 delimited by size
into string3
end-string.
string3 would contain-Anne Marrie

Is This Answer Correct ?    2 Yes 0 No

How to concatenation one or more string?..

Answer / siri

USING STRING KEY WORD TO CONCATENATE ONE OR MORE STRINGS....
FOR EXAMPLE I WANT TO 'RENU-SHIVA'
WORKING-STORAGE SECTION.
01 NAME1 PIC X(10) VALUE 'RENU'
01 NAME2 PIC X(10) VALUE 'SHIVA'
01 NAME3 PIC X(20)
PROCEDURE DIVISION.
STRING NAME1 DELIMITE BY '' '-' DELIMITED BY SIZE NAME2
DELIMITED BY '' INTO NAME3..
DISPLAY NAME3.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

How many divisions we have in Cobol ?

4 Answers   Wipro,


Define in-line perform?

1 Answers  


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


Write a program that uses move corresponding.

0 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  






how to convert the recors form vsam file to db2 table tru file aid

0 Answers   TCS,


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

2 Answers   ADP,


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


What is redefines clause in COBOL?

0 Answers   B-Ways TecnoSoft,


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

0 Answers  


What is a SSRANGE and NOSSRANGE?

0 Answers  


What is report-item in COBOL?

0 Answers   Arigo Infotech,


Categories