Author: Bill Woodger
Subject: Reply to: Summing on Mixed Case Literals
Posted: Tue Jan 03, 2017 10:54 pm (GMT 5.5)
As enrico said, "normalise" the name in a temporary extension. SORT on that name. You'll also need to discriminate between upper/mixed, so that you can favour the mixed when both are present (a second field to include an indicator for mixed/upper so you can "outsort" the upper).
Exactly how you do that depends on the quality of your data. If you can have embedded typos...?
Whether SyncSort has TRAN= or some other built-in way to convert case is another issue.
Subject: Reply to: Summing on Mixed Case Literals
Posted: Tue Jan 03, 2017 10:54 pm (GMT 5.5)
As enrico said, "normalise" the name in a temporary extension. SORT on that name. You'll also need to discriminate between upper/mixed, so that you can favour the mixed when both are present (a second field to include an indicator for mixed/upper so you can "outsort" the upper).
Exactly how you do that depends on the quality of your data. If you can have embedded typos...?
Whether SyncSort has TRAN= or some other built-in way to convert case is another issue.