Search found 1 match
- Wed Jun 14, 2017 4:29 pm
- Forum: COBOL
- Topic: Replace special characters with spaces in a string
- Replies: 12
- Views: 29470
Below condition will help to remove the unwanted values from field, if we receives the value other than the ALPHABETIC and NUMERIC below code will replaces the JUNK or unwanted values with "spaces". 01 STREET1-ADDRESS X(25) 01 ADDR1 REDEFINES STREET1-ADDRESS OCCURS 25 TIMES PROCEDURE DIVISION. OPEN ...