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

ZAPing load module


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
scerwdriver

New User


Joined: 16 Mar 2009
Posts: 11
Location: Pune

PostPosted: Mon Jul 19, 2010 1:29 pm
Reply with quote

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 19, 2010 3:09 pm
Reply with quote

Why dont you ask the people authorized for this kind of tricks?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Jul 19, 2010 4:53 pm
Reply with quote

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

New User


Joined: 16 Mar 2009
Posts: 11
Location: Pune

PostPosted: Mon Jul 19, 2010 4:58 pm
Reply with quote

So both of you are suggesting me to contact to the vendors/support group. icon_idea.gif
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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Jul 19, 2010 5:02 pm
Reply with quote

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

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Jul 19, 2010 5:03 pm
Reply with quote

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

New User


Joined: 16 Mar 2009
Posts: 11
Location: Pune

PostPosted: Mon Jul 19, 2010 5:15 pm
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 19, 2010 5:18 pm
Reply with quote

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

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jul 19, 2010 5:18 pm
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 19, 2010 5:19 pm
Reply with quote

Why do you want to go against what Peter, Robert and BIll have all said.
Back to top
View user's profile Send private message
scerwdriver

New User


Joined: 16 Mar 2009
Posts: 11
Location: Pune

PostPosted: Mon Jul 19, 2010 5:42 pm
Reply with quote

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 icon_biggrin.gif


Quote:
LOCAL MODE BUFFER PAGES 50


Quote:
INITIAL 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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jul 19, 2010 5:46 pm
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 19, 2010 5:48 pm
Reply with quote

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. 36_2_35.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 19, 2010 5:49 pm
Reply with quote

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

New User


Joined: 16 Mar 2009
Posts: 11
Location: Pune

PostPosted: Mon Jul 19, 2010 5:59 pm
Reply with quote

Flipping a coin will be a nice idea ;) but this is what i was trying to avoid.... thanks for your help and suggestions icon_smile.gif .

Quote:
then you understand the interplay between these parms


well, flipping a coin definately make me understand these things.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts DB2 Load - Sort Or order BY DB2 1
No new posts DB2 Load - NUMRECS DB2 3
Search our Forums:

Back to Top