I've one string with spaces ( I N D I A ). My question is I
want remove the spaces & combine in to single string without
space (INDIA).How we can write the cobol program & wich
options we need to use. Please let me know.
Answer Posted / jagan
Inspect string1 replacing all spaces by ''
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the usage of comp fields in cobol?
What are the different rules of SORT operation?
What is the difference between goback, stop run and exit program in cobol?
What is redefines clause in COBOL?
How you can read the file from bottom?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you reference the printer file formats from cobol programs
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
In COBOL, what is the different between index and subscript?
What is difference between static and dynamic call in cobol?
What is a scope terminator give example?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the difference between Call and a Link?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?