View previous topic :: View next topic
|
Author |
Message |
Sarva_bubli
New User
Joined: 09 Aug 2006 Posts: 37 Location: Pune, India
|
|
|
|
Hi,
I am using the following syntax. But it is not getting replaced. May I have some answer.
I define it in Working storage SECTION.
01 WS-HRRP01-BAL-HDR-REC-LAYOUT.
COPY TIBWXHDW REPLACING ==:WS-HDR:== BY ==BAL==. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sarvanan,
Quote: |
COPY TIBWXHDW REPLACING ==:WS-HDR:== BY ==BAL==. |
How does the vars are declared in the copybook (like :ws-hdr:-xxxx or ws-hdr-xxx)? |
|
Back to top |
|
|
Sarva_bubli
New User
Joined: 09 Aug 2006 Posts: 37 Location: Pune, India
|
|
|
|
Hi Murali,
In copybook it is declared as ws-hdr-xxx only. Here either I can replace this with WS-BAL-HDR also instead of BAL. THis one also will do. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Try this -
Code: |
COPY TIBWXHDW REPLACING ==WS-HDR== BY ==BAL==. |
|
|
Back to top |
|
|
Sarva_bubli
New User
Joined: 09 Aug 2006 Posts: 37 Location: Pune, India
|
|
|
|
Hi Murali,
Many Thanks for the valuable info. |
|
Back to top |
|
|
|