|
View previous topic :: View next topic
|
| Author |
Message |
Itanium
Active User

Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
Hi,
I have a Variable record length file (MAX length will be 2000, MIN length will be 6 - Where the first 6 characters will help to identify what record it is). For some reasons i need to fill in the first 3 characters of the file with spaces. This can be done by SORT, Can someone let me know how ?
Thanks,
Itanium |
|
| Back to top |
|
 |
rajandhla
Active User
.jpg)
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
Please use this, hope it helps
SORT FIELDS=COPY
OUTREC FIELDS=(C' ',1,10)
give three spaces in between codes, and start length and end length of input file you need it in the output file.
Regards
Jai |
|
| Back to top |
|
 |
|
|