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 / sup
small modification to ans 9th,
If ws-india(ws-i:1) = spaces
continue
Else
move ws-india(ws-i:1)to ws-india-f(i:1)
i=i+1
End-if
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
what is the use of outrecord?
) How do u handle errors in BMS macro?
What is the LINKAGE SECTION used in COBOL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the fixed unblock file formats from cobol programs
How do u write test cases?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how do you reference the variable unblock file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Name the divisions, which are available in a cobol program?
Discuss about changing dataset name in proc.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?