View previous topic :: View next topic |
Author |
Message |
maxisnowhere Beginner

Joined: 25 May 2005 Posts: 59 Topics: 20
|
Posted: Fri Jul 06, 2007 3:24 am Post subject: Repeating n character at the end of a record |
|
|
Hello Guys,
Im having a funny problem: I read a 6 byte lenght file and need to put it in a 150 byte file with the first 6 byte as I have and "blank" until the end.
Obviusly I can use something like
Code: |
BUILD(1,6,' 150 blank ') |
but repating 150 blank is not so easy...
Probably is simple to solve, do you know how to tell to ICETOOL to repeat 150 blanks?
Bye Max _________________ Maxisnowhere |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Jul 06, 2007 4:44 am Post subject: |
|
|
maxisnowhere,
try this
Code: |
OUTREC BUILD=(1,6,150:X)
|
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
maxisnowhere Beginner

Joined: 25 May 2005 Posts: 59 Topics: 20
|
Posted: Fri Jul 06, 2007 6:02 am Post subject: |
|
|
OUTREC BUILD=(1,6,150:X) is perfect!!
Have a good one!!! _________________ Maxisnowhere |
|
Back to top |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Fri Jul 06, 2007 9:44 am Post subject: |
|
|
Or this:
Code: |
OUTREC OVERLAY=(150:X)
|
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
 |
|
|