Xref: utzoo comp.lang.fortran:2104 sci.edu:390 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!sun!imagen!atari!portal!cup.portal.com!Tim_CDC_Roberts From: Tim_CDC_Roberts@cup.portal.com Newsgroups: comp.lang.fortran,comp.sys.cdc,sci.edu Subject: Re: Request for binary conversion routines & geology graphics Message-ID: <19394@cup.portal.com> Date: 12 Jun 89 18:02:35 GMT References: <762@loligo.cc.fsu.edu> Organization: The Portal System (TM) Lines: 25 In <762@loligo.cc.fsu.edu>, Jeff Bauer aka Joe Cain asks: > We are in need of being able to convert various binary files between >NOS 60 bit, Cyber 205(=ETA10) binary, and Sun binary . We need the >flexibility of being able to define the target words in Sun format in >either single or double. Also, the files contain a mixture of integer >and floating point numbers. If you have access to NOS, the FORM utility (File Organizer and Record Manager) is capable of almost any kind of conversion you could hope for. Because of it's immense flexibility, it is complicated and somewhat difficult to learn, but I believe it will perform most of your conversions automatically. If FORM cannot generate the Sun floating point, then the next answer is to code up a Fortran program using the Fortran-callable 8-bit library BIT8LIB. It contains subroutine calls similar to the FORM directives, with the added benefit of allowing you to specify foreign-style conversions. Good luck. Tim_CDC_Roberts@cup.portal.com | Control Data... ...!sun!portal!cup.portal.com!tim_cdc_roberts | ...or it will control you.