Xref: utzoo comp.lang.c:12056 comp.os.vms:8245 Path: utzoo!attcan!uunet!mcvax!hp4nl!philmds!leo From: leo@philmds.UUCP (Leo de Wit) Newsgroups: comp.lang.c,comp.os.vms Subject: Re: VMS C file type and stdio - help! Message-ID: <618@philmds.UUCP> Date: 24 Aug 88 13:14:48 GMT References: <196@rna.UUCP> <6671@bloom-beacon.MIT.EDU> <3689@bsu-cs.UUCP> <20448@watmath.waterloo.edu> Reply-To: leo@philmds.UUCP (Leo de Wit) Organization: Philips I&E DTS Eindhoven Lines: 17 In article <20448@watmath.waterloo.edu> egisin@watmath.waterloo.edu (Eric Gisin) writes: |You can create the file in C as a stream-LF file, |then change the file type to binary stream (UDF, no record attribute). |Kermit will be able to handle UDF files unless it goes |out of its way to disallow them. |I haven't programmed VMS in a long time, but I think |changing file types is done with an undocumented RMS function, |or with a disk ACP QIO function. (I don't have access to manuals) To convert file types in VMS, use convert ( 8-). From a program the convert utility is a three-stage rocket: conv$pass_files(), conv$pass_options(), conv$convert(). Consult your manuals for the correct parameters. Leo.