1753359 Members
6590 Online
108792 Solutions
New Discussion юеВ

Re: Version Of MF Cobol

 
SOLVED
Go to solution
Rafael Casero
Regular Advisor

Version Of MF Cobol

I'm trying to find out the Command, so I can display the version of COBOL currently running and especially the Service Pack.

Please Help...

5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Version Of MF Cobol

cob -V
If it ain't broke, I can fix that.
Rafael Casero
Regular Advisor

Re: Version Of MF Cobol

Did'nt work.

miaux07: / =>cob -V
sh: cob: not found.
Tom Danzig
Honored Contributor

Re: Version Of MF Cobol

It will work but the cob command is not found. Your path must not include your MF Cobol installation. Use the full pathname to the cob command.

In my case, it is /opt/lib/cobol/bin/cob -V and it will print the version.
someone_4
Honored Contributor

Re: Version Of MF Cobol

# cob -V
sh: cob: not found.


# export COBDIR=/opt/microfocus/cobol
# export PATH=$COBDIR/bin:$PATH
# export SHLIB_PATH=$COBDIR/lib
# export LD_LIBRARY_PATH=$COBDIR/lib
# cob -V
version @(#)cob.c 1.299
PRN=R1CPR/AAE:9h.N3.40.02
PTI=SP1
PTI=EAP
I see no work


Regards,

Richard
Rafael Casero
Regular Advisor

Re: Version Of MF Cobol

Thanks, everyone for your support...