View previous topic :: View next topic
|
Author |
Message |
krbabu
New User
Joined: 20 Feb 2004 Posts: 57
|
|
|
|
Hi all,
How to find whether it is vs cobol-II or os vs cobol without seeing the cobol program?But we have to find from listing? Is it posible or not? |
|
Back to top |
|
|
mcmillan
Site Admin
Joined: 18 May 2003 Posts: 1210 Location: India
|
|
|
|
Dear Babu,
Yes, It's possible. Check your compiler listing after compiling your program. (In Spool Display its named as SYSPRINT).
The first line should be your compiler name, if it's not overrided by your System Admin. (You can see this line before compiler option list). |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Ravindra,
If you don't have a listing you can look at the load module to get the compiler info.
For OS/VS modules the 4 bytes beginning at offset X'14' (or pos 21 decimal) will give you the compiler name and release number, e.g. VSR3.
For COBOL2 modules the 10 bytes beginning at offset X'0D' (or pos 14 decimal) will give you the compiler name and version/release/mod number, e.g. ' C2 2.3.0 '.
Regards, Jack. |
|
Back to top |
|
|
|