Problem:
The file data was translated from EBCDIC to ASCII. From the application it is necessary that this file is sorted in EBCDIC order.
Resolution:
To sort in EBCDIC order , it is necessary to use the SORT-EBCDIC instruction. This instruction must be before all use and give instructions.
The example is :
sort fields ( 1, 4 , ch , a )
SORT-EBCDIC
give FICHIER2 record(f:40) org ls
use F1 record(f:40)
#netexpress
#COBOL
#ServerExpress
#RMCOBOL
