Code: Select all
-----5----------------15
Dept1
Dept1
Dept1 description1
Dept1
Dept1
Dept2
Dept2
Dept2 description2
Dept2
Dept2
Now my SORT should write only that record in the output which has got some description. In most of the case one of the records will have a description. In case if all the records don't have any description than any one of the record can be put in the output.
My input is FB and LRECL is 80. Output should be of same attributes. The Department can be repeated 5 times and 5 bytes long. Description is 10 bytes long. Can soomeone please help me on this.
Coded for your