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
 

 

Tell me if VSCOBOL is 24 bits or 31 bit

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

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Wed Apr 22, 2009 3:15 am    Post subject: Tell me if VSCOBOL is 24 bits or 31 bit
Reply with quote

Hello,

In our shop we've VSCOBOL. Can some one tell me if VSCOBOL is 24 bits or 31 bits ?

Thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 22, 2009 3:20 am    Post subject:
Reply with quote

OS/VS COBOL or VS COBOL II? What are the compiler options set to? What are the linkage edit (binder) options set to?
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Wed Apr 22, 2009 8:04 am    Post subject:
Reply with quote

It is OS/VS COBOL. Even I am not sure about the rest two questions.
How can I find that ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 22, 2009 8:37 am    Post subject:
Reply with quote

Hello,

Look at the output of a compile and a link. . .
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Wed Apr 22, 2009 8:42 am    Post subject:
Reply with quote

hello,

I am seeing the following in my complie job

Code:
22:21:13 ***** R0MMCMP1 compile for System T VSCOBL @@ GCPGM S N  *****
22:21:14   End of VS COBOL compile.  Rc = 4                           


where GCPGM is the Program name.

Please advise.

Thanks
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 22, 2009 9:16 am    Post subject:
Reply with quote

Hello,

Look at the first part of the compile - it should show which options are in effect.

You also need to look for the options in use in the output of the link edit.

My connection tonight is not to a mainframe, so i can't generate something and post it. Even if i could, it would most likely be different as the compilers i use are all versions of Enterprise COBOL rather than vscobol.

If you cannot locate the info to post, someone in system support on your system should be able to show you in your compile output.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 22, 2009 4:43 pm    Post subject:
Reply with quote

Actually, the full answer to your question is that a compiler (such as OS/VS COBOL) may be either 24- nor 31-bit but more to the point it's not relevant. Programs compiled under the compiler can be 24-bit or 31-bit but the actual compiler -- who knows, who cares? As long as it runs and generates output programs there's no reason to worry about the addressing mode of the compiler.

The compiler options will tell whether or not the program was compiled to be 24- or 31-bit addressable. The linkage editor (binder) options will tell you whether or not the program's load module was generated to support 31-bit addressing or not. AMBLIST can be run on the load module to tell this as well.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 22, 2009 7:53 pm    Post subject:
Reply with quote

Hi Robert,

In playing "guess the requirement", i guessed that the question was about the "output" of the compile and the link rather than the actual mode of the compiler icon_smile.gif

Maybe we'll get some clarification. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 22, 2009 8:00 pm    Post subject:
Reply with quote

Dick -- there seems to be a whole lot of "guess the requirement" today; OS/VS COBOL and VSAM KSDS being just two of them.

Ah, clarification ... that would be so nice ... probably would go quite well with fava beans and a nice Chianti ... icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 22, 2009 8:19 pm    Post subject: Reply to: Tell me if VSCOBOL is 24 bits or 31 bit
Reply with quote

Only ewe. . . he replied silently. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 22, 2009 8:22 pm    Post subject:
Reply with quote

Great ... now I've got to clean my monitor off -- coffee looks so dark on it ... thanks, Dick. icon_biggrin.gif
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
No new posts Need a SORT to compare the signed bits Bhargav_1058 JCL & VSAM 3 Tue Jun 02, 2009 12:25 pm
No new posts Testing more than 8 bits in single in... Bill O'Boyle PL/I & Assembler 3 Mon Sep 01, 2008 10:00 pm
No new posts How can I read binary bits in cobol? sourabh jain COBOL Programming 6 Tue Jul 29, 2008 2:09 pm
No new posts Instruction 64 bits - MVCLE Laercio PL/I & Assembler 1 Wed Jun 25, 2008 4:41 am
No new posts Sort by bits SORT FIELDS=(133.1,.1,BI,A) arivazhagan_k DFSORT/ICETOOL 6 Mon Mar 24, 2008 5:14 pm


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