Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How find whether it is VS COBOL-II or OSVS COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Thu Feb 26, 2004 4:14 pm    Post subject: How find whether it is VS COBOL-II or OSVS COBOL
Reply with quote

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
View user's profile Send private message

mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Thu Feb 26, 2004 6:58 pm    Post subject: Re
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Feb 29, 2004 10:30 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us