made file write in uncompressed short mode
added error code on exit
use contant for success code insead of string
corrected call to set_status
use ccd 36 to track full array actions