Check the output of three commands (login as root):
$PS_HOME/bin> cobrun
$PS_HOME/bin> cob -v <---(small "v")
$PS_HOME/bin> cob -V <---(upper "V")
If Output of $ cob -V
version @(#)cob.c 1.310
PRN=RXCPR/AAM:9h.N3.40.03
PTI=SP1
PTI=Fixpack40.03_10
I see no work
Then compiler is Server Express 4.0 SP1 FixPack 10
Similarly below is the output of $ cob –V for ServerExpress 4.0 SP2
version @(#)cob.c 1.313
PRN=RXCTO/AAD:9i.T4.40.03
PTI=SP2
I see no work
To check whether ServrExpress compiler is installed in 32 bit or 64 bit mode , check the output of
$ cob -v
and it should be like below for 32 bit mode.
cob32 -C nolist -v
I see no work
And for 64 bit , it will be like
Cob64 -C nolist -v
I see no work