Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!TE.CC.CMU.EDU!JM9W From: JM9W@TE.CC.CMU.EDU.UUCP Newsgroups: comp.os.vms Subject: Re: batch log files and EDT Message-ID: <12295293172.52.JM9W@TE.CC.CMU.EDU> Date: Fri, 17-Apr-87 14:42:35 EST Article-I.D.: TE.12295293172.52.JM9W Posted: Fri Apr 17 14:42:35 1987 Date-Received: Sat, 18-Apr-87 08:21:29 EST References: <8704161311.AA02961@mitre-bedford.ARPA> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 32 I have found that using the FDL file below with CONVERT is an easy solution to "fixing" files written as batch logs, via DCL Open/Write statements, etc. As an example of one of my standard uses for it, I have a daily batch job that writes a file via DCL Open/Write, and this file must then be used by a program that can't handle print carriage-control files. The FDL file, DCLCONV.FDL is used in the following CONVERT command: Convert /Fdl=Dclconv Datafile.Txt;0 Datafile.Txt;-1 Here is DCLCONV.FDL: TITLE "DCL file converter" IDENT "26-JUL-1985 18:17:23 VAX-11 FDL Editor" FILE BEST_TRY_CONTIGUOUS yes RECORD CARRIAGE_CONTROL carriage_return FORMAT variable SIZE 512 -Jim Murawski -Carnegie Mellon Computing Services -Pittsburgh, PA, U.S.A. Disclaimer: Any opinions in the above message do not necessarily reflect the opinions of my employer, Carnegie Mellon. -------