View previous topic :: View next topic
|
Author |
Message |
Kranthi_Merigala
New User
Joined: 22 Mar 2010 Posts: 17 Location: Hartford
|
|
|
|
Hi,
I want to default the field S9(8)V9(2)USAGE COMP-3 to zeros in outrec of Syncsort card.
The field iam mentioning is from 250 to 6 bytes
I Have tried the below two syntax
OUTREC FIELDS=(1:1,13,25:225X,250:6X'FFFFFFFFFFFF',256:30X)
OUTREC FIELDS=(1:1,13,25:225X,250:6Z,256:30X)
For the second declaration its showing INVALID in the field.
Please help in finding how to declare
Thanks,
Kranthi. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
comp-3 is packed-decimal.
where in your outrec fields control card are you attempting to overlay a 6 byted packed-decimal field contain zero? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Try
Code: |
250:+0,TO=PD,LENGTH=6 |
|
|
Back to top |
|
|
Kranthi_Merigala
New User
Joined: 22 Mar 2010 Posts: 17 Location: Hartford
|
|
|
|
Thank you.It worked |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Glad to hear that! |
|
Back to top |
|
|
|