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
 

 

ZAPing load module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: ZAPing load module
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 19, 2010 3:09 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Mon Jul 19, 2010 4:53 pm    Post subject:
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Mon Jul 19, 2010 5:02 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Jul 19, 2010 5:03 pm    Post subject: Reply to: ZAPing load module
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    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Mon Jul 19, 2010 5:18 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 19, 2010 5:19 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Jul 19, 2010 5:46 pm    Post subject: Reply to: ZAPing load module
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 19, 2010 5:48 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am


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