Im using cobol sort in one program and came across a scenario - where the sort key of the input file is same for more than one records..
in such case, the records should be just written to output file in the order of their occurance in the input file.
But, they are being sorted based on the field right next to the sort-key.. even though Im sorting my records based on only sort key.
The same functionality when done thru Eztrieve program, the input records for duplicate sort key are just being written in the out put file in the order they are read..
Have any of you come across similar situation.. any guess what might be wrong with my cobol porgram..?
really appreciate your response.. thanks a lot