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 the difference is between continue and next sentence?
What is link edit in cobol?
IF I mention stop run in CICS what happens?
How are the next sentence and continue different from each other?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Write down the divisions of cobol program?
What is the difference between comp and comp-3?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between binary search and sequential search?
What are declaratives and what are their uses in cobol?
Are you comfortable in cobol or jcl?