Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Editing Binary files on a vax
@ 1998-02-06  5:00 Hiker
  1998-02-06  5:00 ` joe huber
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hiker @ 1998-02-06  5:00 UTC (permalink / raw)



Please help me: I'm a student programmer and need help on how to edit a
binary data file on a vax work station... I have  a binary editor for dos
but the conversion completely screws the file (Vax -> DOS)....anyway any
tips would be greatly appreciated...

I know it's a stupid ?  but we all start somewhere right?
EB

PS
please e-mail and post..thanks




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary files on a vax
  1998-02-06  5:00 Editing Binary files on a vax Hiker
@ 1998-02-06  5:00 ` joe huber
  1998-02-09  5:00 ` Thomas John Moore
  1998-02-09  5:00 ` Hoff Hoffman
  2 siblings, 0 replies; 4+ messages in thread
From: joe huber @ 1998-02-06  5:00 UTC (permalink / raw)



Hiker wrote in message ...
>Please help me: I'm a student programmer and need help on how to edit a
>binary data file on a vax work station...

Take a look at the PATCH utility. Start with the online help

        $ help patch

Its possible uses are some what wider that what the online
help would lead you to believe. The last time I used it was
about two years ago. It kind of vague, had a roughly
1400000 block (text) data file that had some sort of 'error in the
data' because of a progam error. Took five days for the
program to run but "patched" it in five minutes.

Joe Huber
jhuber@monmouth.com





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary files on a vax
  1998-02-06  5:00 Editing Binary files on a vax Hiker
  1998-02-06  5:00 ` joe huber
@ 1998-02-09  5:00 ` Thomas John Moore
  1998-02-09  5:00 ` Hoff Hoffman
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas John Moore @ 1998-02-09  5:00 UTC (permalink / raw)



Hello

           Well when using smartterm to ftp files from a Alpha to a PC I
have found that setting the file type to be text results in a file with
multiple records not just one big record getting created on PC.

Tom



Hiker wrote in message ...
>Please help me: I'm a student programmer and need help on how to edit a
>binary data file on a vax work station... I have  a binary editor for dos
>but the conversion completely screws the file (Vax -> DOS)....anyway any
>tips would be greatly appreciated...
>
>I know it's a stupid ?  but we all start somewhere right?
>EB
>
>PS
>please e-mail and post..thanks
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary files on a vax
  1998-02-06  5:00 Editing Binary files on a vax Hiker
  1998-02-06  5:00 ` joe huber
  1998-02-09  5:00 ` Thomas John Moore
@ 1998-02-09  5:00 ` Hoff Hoffman
  2 siblings, 0 replies; 4+ messages in thread
From: Hoff Hoffman @ 1998-02-09  5:00 UTC (permalink / raw)




In article <Pine.SOL.3.96.980206092319.15995C-100000@sol>, Hiker <x71ed@unb.ca> writes:
:Please help me: I'm a student programmer and need help on how to edit a
:binary data file on a vax work station... I have  a binary editor for dos
:but the conversion completely screws the file (Vax -> DOS)....anyway any
:tips would be greatly appreciated...

  You might want to explain what you are doing, and what sort of binary
  file you are looking to edit -- there can be good and bad reasons to
  do this, and there can be good and bad approaches to doing this, and
  there can be alternatives -- such as CONVERTing to a sequential file
  format, editing, and then reloading.

  PATCH is the most flexible file editor shipped with OpenVMS VAX -- it
  can modify any sort of disk file, though it is particularly designed
  to patch VAX executable image files.

  On the Freeware CD-ROM, one can aquire other tools for various roughly
  similar purposes, such as DISKBLOCK, RMS_TOOLS, etc.  I've also seen
  references to other patch-like tools -- tools that perform functions
  similar to PATCH -- posted here, see the http://www.dejanews.com/ site
  archives, or the Info-VAX archives.

	--

  File transfers between OpenVMS VAX -- VAX systems can run various
  operating systems, I'll assume OpenVMS is in use -- and Microsoft
  Windows 95 are generally performed via FTP, and corruptions can creep
  in when an incorrect FTP file transfer mode is used.  Image and binary
  files usually (surprise! :-) require the FTP image/binary transfer mode.


 -------------------------- pure personal opinion ---------------------------
 Hoff (Stephen) Hoffman   OpenVMS Engineering   hoffman@xdelta.ZZenet.dec.com
  note to those folks not contributing spam -- there is no ZZ in my address




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-09  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-06  5:00 Editing Binary files on a vax Hiker
1998-02-06  5:00 ` joe huber
1998-02-09  5:00 ` Thomas John Moore
1998-02-09  5:00 ` Hoff Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox