[Info-vax] SYS$SET_DEVICE

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Thu Feb 21 18:43:49 EST 2013


In article <1b36cbc2-d2fa-4bf7-954b-7d018bdbe3fa at googlegroups.com>, Steven Schweda <sms.antinode at gmail.com> writes:
>   Has anyone a handy usage example for SYS$SET_DEVICE()?  As
>I read the HP OpenVMS System Services Reference Manual, it's
>all exactly like SYS$GETDVI (which I _can_ get to work), but
>that makes little sense to me, as the information flow is in
>the opposite direction.  I had some dim hope of setting a
>volume label from a C program, but so far all I've gotten out
>of SYS$SET_DEVICE() is "%SYSTEM-F-BADPARAM, bad parameter
>value".  I assume that that's all my fault, but it doesn't
>tell me what I need to know.

I didn't think you could do that with SYS$SET_DEVICE.  

If you want to set a volume label, you've got some file system mucking
about with that you'd be best to leave to "SET VOLUME/LABEL=..."
-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Info-vax mailing list