View previous topic :: View next topic
|
Author |
Message |
sarathy
New User
Joined: 17 Sep 2008 Posts: 2 Location: bangalour
|
|
|
|
Hi,
i have 80 byte length file in 30 to 33 position are packed decimal values, i want to change that values into 5678 to all the records. how can i achieve that? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
why not search the forum with the OVERLAY keyword
you will find quite a few examples |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
sarathy,
Use the following control cards
Code: |
//SYSIN DD *
OPTION COPY
INREC OVERLAY=(30:+5678,TO=PD,LENGTH=4)
//* |
|
|
Back to top |
|
|
sarathy
New User
Joined: 17 Sep 2008 Posts: 2 Location: bangalour
|
|
|
|
Thanks Skolusu its working fine. |
|
Back to top |
|
|
|