Operating System - OpenVMS
1829461 Members
2326 Online
109992 Solutions
New Discussion

Re: How to determine the version of Compaq cobol we are using

 
SOLVED
Go to solution
Pallavi Akundi
Occasional Advisor

How to determine the version of Compaq cobol we are using

Hi,

I need to know the version and license details of the compaq cobol compiler I am using on my OpenVMS server. Could some one help me with the commands for the same

Thanks and Regards,

Pallavi
People with goals succeed because they know where they are going-- as quoted by some one
8 REPLIES 8
Volker Halle
Honored Contributor
Solution

Re: How to determine the version of Compaq cobol we are using

Pallavi,

$ SHOW LIC/USAGE COBOL* should show your COBOL license

$ DIR SYS$HELP:COBOL*.RELEASE_NOTES should show the COBOL version installed.

Volker.
ChaimBu
Frequent Advisor

Re: How to determine the version of Compaq cobol we are using

I believe you can retrieve the version of the COBOL compiler by issuing:

$analy/image sys$system:cobol.exe

The version is on the about the fourth page of the information, if I recall correctly.

Karl Rohwedder
Honored Contributor

Re: How to determine the version of Compaq cobol we are using

At a not too old VMS version you may use the new /SELECT feature of ANALYZE:

$ ana/ima/sele=ident sys$system:cobol.exe
SYS$COMMON:[SYSEXE]COBOL.EXE;1
"COBOL V2.8-1286"

regards Kalle
Marc Van den Broeck
Trusted Contributor

Re: How to determine the version of Compaq cobol we are using

Hi,

you can look on the first line of a listing file produced by that cobol compiler.

Rgds
Marc
Karl Rohwedder
Honored Contributor

Re: How to determine the version of Compaq cobol we are using

You mean something along the lines:

pipe cobol/lis=TT: nl: | sear sys$input: "source listing"

regards Kalle
Ana M. García Olivencia
Regular Advisor

Re: How to determine the version of Compaq cobol we are using

Another way of finding that information is:

$PRODUCT SHOW PRODUCT COBOL

Regards.

Ana
Karl Rohwedder
Honored Contributor

Re: How to determine the version of Compaq cobol we are using

On VAX the COBOL compiler is installed using VMSINSTAL, so the PRODUCT command is useless here.

regards Kalle
comarow
Trusted Contributor

Re: How to determine the version of Compaq cobol we are using

Of course, when you install any products, by default you'll get the release notes.

Set def sys$help:

dir *cob*.release_notes

and you'll see the current release notes installed on your system.

If it's an alpha and it uses Product Install, you can always do $
product show history.

Have fun