View previous topic :: View next topic
|
Author |
Message |
scerwdriver
New User
Joined: 16 Mar 2009 Posts: 11 Location: Pune
|
|
|
|
Hi,
i want to make changes in the loadmodule "DMCL" for one of the buffer page value :
code :
BUFFER DMCL.ABC-BUFFER
PAGE SIZE 13680 CHARACTERS
LOCAL MODE BUFFER PAGES 50
OPSYS STORAGE
CENTRAL VERSION MODE BUFFER
INITIAL PAGES 50
MAXIMUM PAGES 500
i want to make changes in "INITIAL PAGES 50" to "INITIAL PAGES 100"
using AMASPZAP. can anyone please help for this.
i'm not able to understand the dump taken of the load module DMCL which is showing HEXX values hence unable to identify which value is to be replaced.
following is what the dump says for ABC-BUFFER:
ZAP LEDR SLR STH STH STH STH * *
004120 4040 C7C5 D560 F1F3 D260 C2E4 C6C6 C5D9 4040 4040 0000 0000 * ABC-BUFFER*
STH CLC MVO MVC SLGFICLGHR STH STH * ........ *
STH STH STH STH STH STH STH CLC MVO MVC SLGFI * ABC-BU*
0000 0000 0000 0000 4040 4040 4040 4040 4040 4040 4040 4040 *FFER ....* |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Why dont you ask the people authorized for this kind of tricks? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Most likely the data base is converting the provided statements into internal format and removing the literals. Unless you are extremely proficient in the data base, you are not likely to be able to do this without assistance from either your site support group, or the vendor, or both. |
|
Back to top |
|
|
scerwdriver
New User
Joined: 16 Mar 2009 Posts: 11 Location: Pune
|
|
|
|
So both of you are suggesting me to contact to the vendors/support group.
ok thanks for the suggestion.
But it will be more appriciated if there is some concrete solution in this forum for this trick. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
The fact that you've got two suggestions that you are ignoring is a good indication that you're not likely to find a solution on this forum. Especially since you could not be bothered to even tell us which data base you are wanting to change. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I agree with Peter and Robert. Don't mess with updating object code unless you know what you're doing.
There's no shame in seeking assistance with Tech Support and/or the Vendor.
If you messed it up, how would you explain this to your management?
Bill |
|
Back to top |
|
|
scerwdriver
New User
Joined: 16 Mar 2009 Posts: 11 Location: Pune
|
|
|
|
i'm trying to do this in IDMS database. the DMCL load module is created by me only using generate punch and link(GPL)( using batch command facility utility ).
i can do the changes writing the definition in dictionary file and creating new module with GPL, an indivisual always ,but i want to do this change directly in load module. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
want to do this change directly in load module.
|
which means there will be absolutely no audit trail,
and anyone looking at the dictionary file would have a lot of fun,
trying to determine what when the dictionary says 50,
100 is the actual.
since 50 is x'32', why not change all x'32' that you find in the dump to x'64'. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
scerwdriver wrote: |
But it will be more appriciated if there is some concrete solution in this forum for this trick. |
Zapping a module is easy, the trick is knowing what to zap.
Changing a COBOL 'if equal' to an 'if not equal' is easy, but where are all the references to the '50' buried in the module in question.
Miss one and boom.
One to many and boom. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Why do you want to go against what Peter, Robert and BIll have all said. |
|
Back to top |
|
|
scerwdriver
New User
Joined: 16 Mar 2009 Posts: 11 Location: Pune
|
|
|
|
Quote: |
but where are all the references to the '50' buried in the module in question. |
yeah, i too have this booming question infront of me. tried finding x'32' but what the goodness i have two 50
Quote: |
LOCAL MODE BUFFER PAGES 50 |
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C2C3 F5F3 0000 0000 C2C3 F5F3 0000 C7C5 D560 F1F3 *................*
CLC MVO *....BC53.....ABC*
D260 C2E4 C6C6 C5D9 4040 4040 0000 0000 0000 0000 0000 3570 0000 0000 0000 3570 0000 0032 0000 0032 *-BUFFER ....*
MVC SLGFICLGHR STH STH LEDR LEDR *................*
if you can understand which is the required value that i am willing to change. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
if you can understand which is the required value that i am willing to change. |
why do You expect that we should know ? You generated the module.. we didn' t |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
since 50 is x'32', why not change all x'32' that you find in the dump to x'64'.
|
Oh Dick, this is so cool. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
either zap both or flip a coin.
besides, since you are increasing min pages,
it might be a good idea to increase buffer, also.
but, then you understand the interplay between these parms, don't you?
Peter,
glad you appreciate my humor. |
|
Back to top |
|
|
scerwdriver
New User
Joined: 16 Mar 2009 Posts: 11 Location: Pune
|
|
|
|
Flipping a coin will be a nice idea ;) but this is what i was trying to avoid.... thanks for your help and suggestions .
Quote: |
then you understand the interplay between these parms |
well, flipping a coin definately make me understand these things. |
|
Back to top |
|
|
|