This document describes a DataStage job design to solve a scenario problem. The design includes:
1) A job with a sort stage to sort data based on a column in descending order.
2) A transformer stage that uses two stage variables to derive output.
3) An output file that sorts the data a second time in ascending order to produce the required output.