Search found 3 matches
- Tue Mar 13, 2012 3:18 pm
- Forum: COBOL
- Topic: Replacing a larger string with smaller string
- Replies: 3
- Views: 6294
- Fri Mar 09, 2012 5:49 pm
- Forum: COBOL
- Topic: Replacing a larger string with smaller string
- Replies: 3
- Views: 6294
- Fri Mar 09, 2012 4:43 pm
- Forum: COBOL
- Topic: Replacing a larger string with smaller string
- Replies: 3
- Views: 6294
Replacing a larger string with smaller string
Hi, I am trying to replace a larger byte string with a smaller byte string. I tried using cobol INSPECT - REPLACING.. As both operands are not of equal size, it is throwing an error. Suppose in a 2000 byte string, if there is any "SHOULD BE", should be replaced with "S/B". i.e., a 9 bytes string sho...