Here is what I use for a AMODE 64 program: NAME load_module csect_to_be_zapped C_CODE64
Where load_module is the module on the EXEC statement, csect_to_be_zapped is the module being linked into the load_madule and that has a #pragma csect(CODE,"csect_name") coded in it. The following also works for a DUMPT: DUMPT load_module csect_to_be_dumped C_CODE64 John T. Abell Tel: 800-295-7608 Option 4 President International: 1-416-593-5578 Option 4 E-mail: [email protected] Fax: 800-295-7609 International: 1-416-593-5579 International Software Products www.ispinfo.com This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive on behalf of the named recipient), please contact the sender by reply email and delete all copies of this message. Also,email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Scott Ford Sent: Wednesday, September 09, 2015 8:56 AM To: [email protected] Subject: Re: AMASPZAP to C main marked as $private Janet, Agree with Jim, that's what I just read also... Regards, Scott On Wednesday, September 9, 2015, Jim Mulder <[email protected]> wrote: > > I'm trying to create a zap for a C main. The binder has designated > > the C main is in a $private code. What's the AMASPZAP NAME card for > > private code? Alternatively can I force a name on the CSECT? > > > > Here's the link map output from the binder > > > > OFFSET OFFSET NAME TYPE LENGTH DDNAME SEQMEMBER > > > > > 0 $PRIV000010 CSECT 410 XMLRPC > 01TESTDCAL > > 88 88 main LABEL > > > > The name card should be something like > > > > NAME TESTDCAL TESTDCAL C_CODE > > > > but that doesn't work. A CSECT name of $PRIVATE, $PRIV000010, or > > anything else I can think of doesn't work either. > > How about > > NAME TESTDCAL * > or > NAME TESTDCAL * C_CODE > > I am not a C programmer, so that is just my best guess based on the > AMASPZAP documentation for the NAME statement. > For a program object, AMASPZAP invokes IGWSPZAP, which is owned by the > Binder component. > > Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] <javascript:;> with the message: > INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
