View previous topic :: View next topic
|
Author |
Message |
mohanrazz
New User
Joined: 30 Sep 2008 Posts: 30 Location: India
|
|
|
|
Hi,
I have a copy book which has 10 fileds. five fields start with TAG1 and rest of five with TAG2. I have to copy this copybook into my program. TAG1 needs to be replaced with ws1 and TAG2 with ws2.
Is it possible with COPY REPLACING ?
thanks. |
|
Back to top |
|
|
prasadplease
New User
Joined: 02 Sep 2006 Posts: 31 Location: Mumbai
|
|
|
|
Yes it is, separate the 2 replacing with comma (,)
COPY TESTCB1 REPLACING ==:A03:== BY ==NEW==,
==:A05:== BY ==OLD==. |
|
Back to top |
|
|
mohanrazz
New User
Joined: 30 Sep 2008 Posts: 30 Location: India
|
|
|
|
prasadplease wrote: |
Yes it is, separate the 2 replacing with comma (,)
COPY TESTCB1 REPLACING ==:A03:== BY ==NEW==,
==:A05:== BY ==OLD==. |
thanks boss |
|
Back to top |
|
|
|