On Fri, 3 Nov 1995 21:27:55 GMT Jerry Bostick said:
>In article <[log in to unmask]>, [log in to unmask] says...
>>Is there any way that a COBOL program, while running, can display the
>>$VERSION information it was compiled with?
>If u'r not running in block mode, you can call the "command" intrinsic
>with the following: RUN VERSION.PUB.SYS;INFO="PROGNAME.GROUPNAM.ACCTNAME"
>where the info parm. is your prog. name.
Even more reliable for COBOL is to use the WHEN-COMPILED string.
[\] Jeff Kell <[log in to unmask]>