View previous topic :: View next topic |
Author |
Message |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Wed Jun 30, 2010 10:21 am Post subject: copy replacing in cobol |
|
|
Was wondering if do a 'global' replace of MY-FIELD with YOUR-FIELD in the
sample copymember below, WITHOUT using pseudo-texting ?
i.e. putting colons around MY- --> :MY-: and doing :
COPY XXX REPLACING ==:MY-:== by ==YOUR-==
Code: | 01 MY-COPY.
05 MY-FIELD-A PIC X.
05 MY-FIELD-B PIC X.
05 MY-FIELD-C PIC X.
05 MY-FIELD-D PIC X.
05 MY-FIELD-E PIC X. |
Thanks for any help... |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 30, 2010 10:26 am Post subject: |
|
|
don't think that will work. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
|
Back to top |
|
|
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed Jun 30, 2010 1:41 pm Post subject: |
|
|
If you want to do this, why not use "pseudo texting"? _________________ All the best,
di |
|
Back to top |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
|
Back to top |
|
|
|
|