View previous topic :: View next topic
|
Author |
Message |
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
Hi,
I have 2 variable block file -
File1 - length 300 bytes (actual length 304)
File2 - length 200 bytes (actual length 204)
File1 contains data and my task is to copy data from File1 to File2 and I need to copy only the first 174 bytes from each record.
Currently I am using SSGENER utility for copying the data but this copies 200 bytes from File1 to File2.
I am looking for something where I can specify that only the first 174 bytes need to be copied.
Thanks |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Code: |
OPTION COPY
INREC BUILD=(1,4,5,174) |
Toss that into your SORT product, check. Amend if you have not accurately described the 174 thing.[/code] |
|
Back to top |
|
|
|