View previous topic :: View next topic
|
Author |
Message |
PUMA
New User
Joined: 08 Aug 2006 Posts: 12 Location: FRANCE
|
|
|
|
With DFSORT I want to complete the end of a record with spaces without knowing the length of the record.
For example from a file of LRECL=80 to a file of LRECL=160
By default DFSORT add data with low value.
SORT FIELDS=COPY
OUTREC OVERLAY=(80:6X) <== Is it possible to specify the rest of the
record and not a value like Here : 6
Regards |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2119 Location: USA
|
|
|
|
Code: |
OUTREC OVERLAY=(160:X) |
Why not just to try, and to verify the result???!!! |
|
Back to top |
|
|
PUMA
New User
Joined: 08 Aug 2006 Posts: 12 Location: FRANCE
|
|
|
|
as I wanted a variable value I implemented this jcl :
// EXPORT SYMLIST=*
// SET LNG=120
//MYLOG DD SYSOUT=*
//SYSIN DD *,SYMBOLS=(EXECSYS,MYLOG)
SORT FIELDS=COPY
OUTREC OVERLAY=(&LNG:X)
And it's OK
Thanks |
|
Back to top |
|
|
|