From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2197f3fd15c0cae3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-11-25 09:23:36 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!digex.net!digex.net!not-for-mail From: zbang@access.digex.net (Carl P. Zwanzig) Newsgroups: comp.sys.dec Subject: Re: VMS Question: Writing to a Null Device? Date: 25 Nov 1993 12:20:10 -0500 Organization: The Midnite Group Message-ID: <2d2pga$2t0@access.digex.net> References: <1993Nov24.191402.401@wsm.com> NNTP-Posting-Host: access.digex.net In article <1993Nov24.191402.401@wsm.com>, System Manager wrote: > >Hello, > > I am a UNIXite and find using DCL a brain bender :-). I am trying Gee, I feel the same way about unix. >to find a way to be able to write to a null device like you can in UNIX >by redirecting to /dev/null. I haven't found anything similar in VMS and >I have a need to write data from a device and send it to La-La-Land >or the Ground Plug on the AC Cord, I have yet to find the GROUNDPLUG1: >device in VMS yet. > > Could some kind soul point me in the right direction?? The VMS version of /dev/null is NLA0:. On writes, it immediately completes the operation successfully, and on reads returns success with length of zero. The equivalent of /dev/groundplug is GPA0:, implimented as follows: define/system/exec GPA0 NLA0 or you can use: define/system/exec GROUNDPLUG1 NLA0 :-) happy bit-bucketing z! Carl Zwanzig