davis@pacific.pacific.mps.ohio-state.edu ("John E. Davis") (06/14/90)
Hi, 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? Thanks, -- --John bitnet: davis@ohstpy internet: davis@pacific.mps.ohio-state.edu
kaiser@cheese.enet.dec.com (06/15/90)
In article <DAVIS.90Jun14025403@pacific.pacific.mps.ohio-state.edu>, 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)