View previous topic :: View next topic
|
Author |
Message |
sunnyk
New User
Joined: 20 Oct 2004 Posts: 59
|
|
|
|
Hi All,
I want to copy an input file say A.B.C in VB format to A.B.C (same as input file) again in VB format.
I am having a criteria like at some position i am replacing the parameters using OUTREC like (01:01,96,C'2006-09-25',107,3994).
I am using to SORT to acheive this but the job is failing everytime.
Suppose the VB length is say 4100 bytes and in the input file only first 200 chars are having some value, the i am getting an error like :
"200 bytes defined for input not matching Output 3993".
Can anyone help me in resolving the issue or suggest alternate solution for the same.
And for empty input file i am not facing any problem.
Regds
Sunny |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
You need to show all of the //SYSOUT messages for the jobs you want help with. |
|
Back to top |
|
|
sunnyk
New User
Joined: 20 Oct 2004 Posts: 59
|
|
|
|
I achieved the same in 3 steps with VB to FB, SORT and back to VB. But i would really appreciate if someone can help me in getting the same result in single step.
I guess i made my requirement clear.
And Frank, i was getting error related to length only. Like i said if input file has 196 bytes in the first record, the error 'll be like:
"200 bytes defined is less than the 4100 length for the fields".
Regds
Sunny |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
I guess i made my requirement clear. |
It may be clear to you since you can see your jobs and the messages, but it isn't clear to me.
It's difficult to help you when we don't have the entire picture. If you want help, you need to show your original failing job with ALL of the messages from //SYSOUT (not just the error message), and your new three step job.
Of course, if you're using Syncsort (WER messages) rather than DFSORT (ICE messages), then I can't help. |
|
Back to top |
|
|
vishal_a
New User
Joined: 24 May 2005 Posts: 45 Location: Noida
|
|
|
|
Hi ,
I think the problem is with not considering the RDW length. In my opinion you should leave the first 4 bytes and then start from the 5th byte and then provide the positions accordingly and then it might work.
Thanks |
|
Back to top |
|
|
|