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

Define cobol?

0 Answers  


What is difference between comp & comp-4?

6 Answers  


how can we find total no of records in a file ....is there any utility......?

3 Answers   IBM,


whats the difference between search and search all?

4 Answers   Patni,


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  






In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)

3 Answers   Keane India Ltd,


What rules are followed by the search verb.

0 Answers  


01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

13 Answers   HSBC,


which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast

1 Answers  


The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


what are the working storage fields in BMS macro?

2 Answers   IBM,


Name some of the examples of COBOl 11?

0 Answers   CSC,


Categories