Answer Posted / 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 View All Answers
What are 77 levels used for?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
IF I mention stop run in CICS what happens?
What is cobol?
What are declaratives and what are their uses in cobol?
how to refer the data field?
Can we change the password using ALTER? anyone tried and changed?
What is rmode(24)
How are the next sentence and continue different from each other?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
A table has two indexes defined. Which one will be used by the SEARCH?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is Pic 9v99 Indicates in COBOL?