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
i need a small 3d program using inline and outline.
What are the access modes of START statement?
Name the sections present in data division.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
) How do u handle errors in BMS macro?
What is difference between static and dynamic call in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
How do define dynamic array in cobol.
Write a program that uses move corresponding.
What is rmode(any) ?
What is the difference between comp and comp-3 usage?
How many sections are there in data division in COBOL?
Difference between array and sub-script ?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?