> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tony Harminc
> Sent: Thursday, October 18, 2007 12:00 PM
> To: [email protected]
> Subject: Re: Zapping HFS files
> 
> 
> On Thu, 18 Oct 2007 07:48:01 -0500, McKown, John
> <[EMAIL PROTECTED]> wrote:
> 
> >IIRC, the original question was not necessarily about zapping a UNIX
> >resident program object. So, how do I zap a binary file, residing in
> >UNIX, which is not a program object?
> 
> I doubt there is any way, beyond writing a simple program of your own.
> AMASPZAP historically used EXCP and its own channel programs 
> to update a
> record in place in any kind of disk dataset. It has a 
> load-module-friendly
> user interface, but of course can also be used to ZAP 
> anything on disk. When
> AMASPZAP is used to ZAP a program object in either a PDSE or 
> a UNIX file, it
> uses the Binder API to do the work, and the update is not 
> done in place.
> (The first time you see an IEW message from running AMASPZAP 
> can be a bit of
> a surprise...)
> 
> In other words, AMASPZAP has become just a user interface to 
> the Binder API
> for ZAPping program objects, but I don't think IBM has also 
> made it into a
> user interface for updating UNIX files generally.
> 
> Tony H.

I asked over on the Linux-390 forum about this. GNU patch has a --binary
option for changing binary (non text) files. Unfortunately, IBM once
again "lags behind" GNU in functionality.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to