Re: Cobol internal SORT causes changes in fields
- From: "Pete Dashwood" <dashwood@xxxxxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 01:17:06 +1200
<ddd.best@xxxxxxxxx> wrote in message
news:1143443784.249710.19740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Andreas & Richard.Don't know what others think, but I was stunned by this.
At the end we added another field to our key so it'll be unique and
this solved the problem.
Thanks for your response.
The problem is caused by the sort definition not matching the data. In fact,
the data is seven bytes shorter than the definition, so it is way out, and
it is not defined as variable length. You don't need to be Einstein to see
that this record definition needs review.
Instead of fixing the definition (as Richard suggested), make the key
unique, so the problem will go away?!
This is a "Don't raise the bridge, lower the river..." approach to problem
solving, if ever I saw one :-)
The only thing I could give points for here was the honesty in responding
with what they actually did.
Pete.
.
- References:
- Cobol internal SORT causes changes in fields
- From: ddd . best
- Re: Cobol internal SORT causes changes in fields
- From: Richard
- Re: Cobol internal SORT causes changes in fields
- From: ddd . best
- Cobol internal SORT causes changes in fields
- Prev by Date: Re: Looking for IMS and Cobol mainframe consultant for a contract opportunity (working on IMS is complusory)
- Next by Date: Re: Any comments?
- Previous by thread: Re: Cobol internal SORT causes changes in fields
- Index(es):