Joined: 04 Apr 2007 Posts: 37 Location: Lisbon, Portugal
shoumitra sutradhar wrote:
Hi! is it possible to use a inspect verb line this.
INSPECT WS-VAR1 REPLACING ALL "MISS" BY "BMS".
Can i replace all four words"MISS" by three words"BMS".
Hi
Why don't you try running it just to see what happens?
The program could be only one display at the beginning with the contents of ws-var-1, the INSPECT statement and another display in the end.
Joined: 04 Apr 2007 Posts: 37 Location: Lisbon, Portugal
shoumitra sutradhar wrote:
I tried and know that changeing field and the replacing field has to be same, but i wanted some new tricks to any way replace with different size.
The INSPECT statement has a wide range of options and possibilities.
I think that you really should read the manual and, try out the different options, and then choose the one that you think will do it better.