How to concatenation one or more string?
Answers were Sorted based on User's Feedback
Answer / nagaraj ramamoorthy
using concatenate operator
e.g string1||strting2||'string3'
Is This Answer Correct ? | 3 Yes | 1 No |
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 |
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 |
Define cobol?
What is difference between comp & comp-4?
how can we find total no of records in a file ....is there any utility......?
whats the difference between search and search all?
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.
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
What rules are followed by the search verb.
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
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
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?
Name some of the examples of COBOl 11?