Problem:
Is there a command like UNIX "file" to get information about compiled COBOL objects?
Resolution:
The ACUCOBOL-GT development system has a utility named cblutil (cblutl32.exe on Windows) that can be used with the "-info" flag to provide this type of information, e.g.:
C:\\test\\C$system\\Object>cblutl32 -info Program1.acu
Program1.acu: size: 3580 (DFC), v8.0, VAX-mode, debug (24-Jan-2008 09:32:58)
With 7.x versions of cblutil the -x flag can also be used to provide even more information:
C:\\test\\C$system\\Object>cblutl32 -info -x Program1.acu
Program1.acu: size: 3580 (DFC), v8.0, VAX-mode, debug (24-Jan-2008 09:32:58)
ccbl -o .\\object\\@.acu -x -Ga -Sp C:\\test\\C$system\\screen;C:\\test\\C$system\\copylib;C:\\test\\C$system\\report;C:\\test
$system\\resource;C:\\test\\C$system\\fd;C:\\Program Files\\Acucorp\\Acucbl800\\AcuGT\\sample\\def;C:\\test\\C$system\\Screen;C:\\te
\\C$system\\Report;C:\\test\\C$system\\Copylib;C:\\Program Files\\Acucorp\\Acucbl800\\AcuGT\\sample;C:\\Program Files\\Acucorp\\Acu
l800\\AcuGT\\sample\\def;.
