IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compile COBOL in Mode 64 Bit


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Sat Jan 10, 2015 1:28 pm
Reply with quote

Could somebody lead me to how we can change the COBOL compiler JCL to compile COBOL programs in 64 Bit?

Some information :
- Hardware Z9
- z/OS Version 1.12
- DB2 10
- CICS 4.1
- Cobol Version 4.2

Regards
Manshadi
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Sat Jan 10, 2015 1:43 pm
Reply with quote

No. No-one can. Enterprise COBOL, even up to V5.1.1, only supports 24- and 31-bit addressing.

Why? What do you have that is so vast?
Back to top
View user's profile Send private message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Sat Jan 10, 2015 1:50 pm
Reply with quote

Nothing, I just try if it's possible to use 64-bit addressable real memory capability to find better performance.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Sat Jan 10, 2015 9:33 pm
Reply with quote

Quote:
I just try if it's possible to use 64-bit addressable real memory capability to find better performance.
First, unless you have a KNOWN performance issue (such as batch jobs not completing in the batch window), it is rarely a good use of resources to attempt to improve performance. I haven't a Z9 to test with, but I suspect COBOL is probably close to 100 million lines of code executed per second of CPU time -- so performance concerns need to be reviewed with this in mind.

Second, merely changing from 31-bit to 64-bit addressing will NOT have any impact on performance -- if program performance is a dog with 31 bit addresses, it won't suddenly starting running faster just because you increased the available memory.

Third, programs can be CPU-bound or IO-bound (meaning the program is waiting for CPU or IO). An IO-bound program will not be helped by anything CPU-related (including memory) unless the issue is a lack of buffers in which case adding buffers will improve performance (but adding buffers will not require 64-bit addressing, either).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts De-compile AFP objects IBM Tools 1
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts JCL for replacing code in Cobol JCL & VSAM 7
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
Search our Forums:

Back to Top