Hi All,
Not a Cobol question, but I don't know where else to ask, and I'm sure somebody on this forum will know the answer....
I have a file:
field1 field2 field3 Other fields
AAAAAAAAAAAAAAAA 101010 12345678 blah1
AAAAAAAAAAAAAAAA 101010 12345678 blah2
AAAAAAAAAAAAAAAA 101010 12345678 blah3
BBBBBBBBBBBBBBBB 111010 23456789 more blah
The file is sorted in field1 order, but the values are unique as is shown above eg if field1 is all A's then field2 and field3 will always be the same.
If I subsequently re-sort the file in field2, field3, field1 order, can I GUARANTEE that the order will remain the same ie in the example above will on re-sort, the records ALWAYS be in the same order as shown, or is there a possibility of the sort swapping record 1 for record 2 or 3?
If I've not made this clear, then please say.
Marc
Not a Cobol question, but I don't know where else to ask, and I'm sure somebody on this forum will know the answer....
I have a file:
field1 field2 field3 Other fields
AAAAAAAAAAAAAAAA 101010 12345678 blah1
AAAAAAAAAAAAAAAA 101010 12345678 blah2
AAAAAAAAAAAAAAAA 101010 12345678 blah3
BBBBBBBBBBBBBBBB 111010 23456789 more blah
The file is sorted in field1 order, but the values are unique as is shown above eg if field1 is all A's then field2 and field3 will always be the same.
If I subsequently re-sort the file in field2, field3, field1 order, can I GUARANTEE that the order will remain the same ie in the example above will on re-sort, the records ALWAYS be in the same order as shown, or is there a possibility of the sort swapping record 1 for record 2 or 3?
If I've not made this clear, then please say.
Marc