Xref: utzoo comp.os.vms:26755 comp.sys.dec:3397 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!purdue!haven!decuac!shlump.nac.dec.com!cheese.enet.dec.com!kaiser From: kaiser@cheese.enet.dec.com Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: VMS MAIL (ISAM FORMAT) ---> ordinary text file Message-ID: <12517@shlump.nac.dec.com> Date: 15 Jun 90 02:50:47 GMT Sender: newsdaemon@shlump.nac.dec.com Followup-To: comp.os.vms Distribution: comp Organization: DEC Systems Consulting Group Lines: 27 In article , davis@pacific.pacific.mps.ohio-state.edu ("John E. Davis") writes... >I would like to convert a VMS MAIL file from its ISAM format to ordinary >text. That is, I want to write my own extraction routine that extracts new >mail and appends it to an ordinary ascii file. This way I don't have to enter >mail and type extract at the VMS mail prompt but insted do it from the DCL >level. Is this possible? Is there an existing routine that will do the >extraction for me? Unless you have in mind something complex involving callable mail, how about doing it the obvious way with a command procedure? Something like this: $ set noverify $ mail select /new extract /all /append SEQUENTIAL-FILE delete /all exit Or is that too simple for what you had in mind? ---Pete kaiser@cheese.enet.dec.com +1 508 480 4345 (machine: +1 617 641 3450)