Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ttrdc!levy From: levy@ttrdc.UUCP Newsgroups: comp.os.vms Subject: Re: Using System service in VAXC Message-ID: <2000@ttrdc.UUCP> Date: Tue, 24-Nov-87 18:39:28 EST Article-I.D.: ttrdc.2000 Posted: Tue Nov 24 18:39:28 1987 Date-Received: Sun, 29-Nov-87 02:02:12 EST References: <8711230601.AA23969@ucbvax.Berkeley.EDU> Organization: AT&T, Skokie, IL Lines: 17 In article <8711230601.AA23969@ucbvax.Berkeley.EDU>, NIELAND@FALCON.BERKELEY.EDU (Ted Nieland - SRL) writes: #> status = sys$assign("sys$input",channel,,); #> status = sys$qiow(,channel,IO$_READVBLK + IO$M_NOECHO + IO$M_CVTLOW #> ,,,,*key,256,,,,); #> Doesn't compile because it doesn't like the extra commas in the qiow statment. For that matter, VAXC won't like the extra commas in the sys$assign() call. Solution: use explicit 0's in the unused parameter positions, e.g.: status = sys$assign("sys$input",channel,0,0); status = sys$qiow(,channel,IO$_READVBLK + IO$M_NOECHO + IO$M_CVTLOW, 0,0,0,*key,256,0,0,0,0); -- |------------Dan Levy------------| Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, | an Engihacker @ |}!ttrdc!ttrda!levy | AT&T Computer Systems Division | Disclaimer? Huh? What disclaimer??? |--------Skokie, Illinois--------|