140 pts.
 COBOL/400
I want to replacing 1 character in a String with 1 or more Characters in COBOL/400. How can i perform this?? Example : 1) A with ABC 2)A with ABCDE 3)A with A Etc.

Software/Hardware used:
ASKED: April 14, 2009  2:32 PM
UPDATED: July 6, 2009  7:53 PM

Answer Wiki:
You can use the Inspect Replace command. INSPECT Field-A REPLACING ALL "A " BY "ABC"
Last Wiki Answer Submitted:  July 6, 2009  7:53 pm  by  SephenSmith   15 pts.
All Answer Wiki Contributors:  SephenSmith   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _