View previous topic :: View next topic
|
Author |
Message |
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I have a customer, who (up until recently) always compiled their COBOL programs (both Batch and CICS) using the DATA(24) option, because "They always did it this way"
Now, they're asking me to alter the load-module signature-byte, which is byte-01, bit-03, to a value of B'1', which represents DATA(31). So basically, this byte would be changed from B'01000000' to B'0110000'.
I have advised them that a zap like this could open a can of worms as well as affect 24-Bit Assembler sub-program addressability (they have several dozen). I've advised them that (as the very least) the Assembler sub-programs need to be relinked as AMODE 31 / RMODE ANY.
Has anyone ever done this load-module alteration before, with success?
I've told them to recompile/link their COBOL programs, specifying the DATA(31) compile option (I believe that's the default) and that will be that.
All feedback is welcome.
Thanks,
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I've never done such a modification and I suspect it won't work anyway -- COBOL does other things during the compile process that can be affected by the DATA option (generation of address fields for calls to internal programs is just the first thing that comes to mind). They need to bite the bullet and recompile using DATA(31) to resolve everything correctly. If not, I'd recommend at least a couple of months of testing to see what shows up before trusting any such code to production. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
As Wednesday Addams said:
"Be afraid. Be very afraid". . .
d |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
I think that is a little like expecting to get a fast car by putting a Ferreri bumper sticker on your Yugo. Doesn't make any sense. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
But Mbabu, the Michelin high-performance tires give the Yugo such a sporty look! |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Bill,
You might want to compile a module w/DATA24 and again w/DATA31, then compare the object code, loads, and/or their NOOFF,LISTs. |
|
Back to top |
|
|
|