When PowerBSORT is called from the C language program, the error that the NetCOBOL file system detected is set to sub_error_code of the BSRTREC structure.
Error code is notified in 1 to 4 bytes. All values are displayed in hexadecimal character. The last byte shows the file status value proceeded by values representing detail codes. View values one by one from behind. Refer to the NetCOBOL manuals for the values of the NetCOBOL File Error Codes.