Xref: utzoo comp.lang.c:11939 comp.os.vms:8179 Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!cmcl2!rutgers!bellcore!clyde!watmath!egisin From: egisin@watmath.waterloo.edu (Eric Gisin) Newsgroups: comp.lang.c,comp.os.vms Subject: Re: VMS C file type and stdio - help! Message-ID: <20448@watmath.waterloo.edu> Date: 19 Aug 88 14:48:40 GMT Article-I.D.: watmath.20448 References: <196@rna.UUCP> <6671@bloom-beacon.MIT.EDU> <3689@bsu-cs.UUCP> Organization: U of Waterloo, Ontario Lines: 14 In article <3689@bsu-cs.UUCP>, dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: > > In response to the request for a solution to the problem of how to > create a binary file under VAX/VMS that allows arbitrary seeks: There > is no ideal solution (other than switching to UNIX, of course), but you > can get by if you use stream-LF files. > 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)