Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
What is the starting position of the inut field?
What do you want for the starting position of the output field?
I think you mean a 5-byte COMP-3 (PD) field rather than S9(5) COMP-3 since S9(5) COMP-3 would only have 5 digits and your original ZD number has 9 digits.
IF so, you would use DFSORT control statements something like this assuming your ZD field starts in position 1:
Code: |
INREC BUILD=(1,9,ZD,TO=PD,LENGTH=5)
|
If that's not what you want, then you need to do a better job of describing what you do want with a conversion that makes sense. |
|