Parameters of system service $SETENV

  • Follow


Hello,

Does anybody know how to call the System Service SYS$SETENV. It is
totally undocumented till OpenVMS 8.2. If you could give an example, it
would be helpfull.

TIA and best regards R. Wingert

0
Reply win64 (156) 5/4/2005 2:19:49 PM

In article <000201c550b4$54889620$994614ac@wat153>, "Rudolf Wingert" <win@fom.fgan.de> writes:
> Hello,
> 
> Does anybody know how to call the System Service SYS$SETENV. It is
> totally undocumented till OpenVMS 8.2. If you could give an example, it
> would be helpfull.
> 
> TIA and best regards R. Wingert

   Have you tried the 8.2 online docs?

0
Reply koehler2 (8264) 5/4/2005 7:41:02 PM


Hello,

yes I did, but I did not found the documentation of this SystemService.

Best regards R. Wingert

-----Original Message-----
From: Bob Koehler [mailto:koehler@eisner.nospam.encompasserve.org] 
Sent: Mittwoch, 4. Mai 2005 21:41
To: Info-VAX@Mvb.Saic.Com
Subject: Re: Parameters of system service $SETENV

In article <000201c550b4$54889620$994614ac@wat153>, "Rudolf Wingert"
<win@fom.fgan.de> writes:
> Hello,
> 
> Does anybody know how to call the System Service SYS$SETENV. It is
> totally undocumented till OpenVMS 8.2. If you could give an example,
it
> would be helpfull.
> 
> TIA and best regards R. Wingert

   Have you tried the 8.2 online docs?


0
Reply win64 (156) 5/9/2005 6:09:13 AM

Rudolf Wingert mentioned in passing:
> Hello,
> 
> yes I did, but I did not found the documentation of this SystemService.
> 
> Best regards R. Wingert
> 
> -----Original Message-----
> From: Bob Koehler [mailto:koehler@eisner.nospam.encompasserve.org] 
> Sent: Mittwoch, 4. Mai 2005 21:41
> To: Info-VAX@Mvb.Saic.Com
> Subject: Re: Parameters of system service $SETENV
> 
> In article <000201c550b4$54889620$994614ac@wat153>, "Rudolf Wingert"
> <win@fom.fgan.de> writes:
> 
>>Hello,
>>
>>Does anybody know how to call the System Service SYS$SETENV. It is
>>totally undocumented till OpenVMS 8.2. If you could give an example,
> 
> it
> 
>>would be helpfull.
>>
>>TIA and best regards R. Wingert
> 
> 
>    Have you tried the 8.2 online docs?
Rudolf,

A quick look at the source listing reveals...

Currently UNSUPPORTED (since it is currently UNDOCUMENTED).
You need CMKRNL privilege.
You need $STENVDEF from STARLET.
The parameter is an itemlist...

  ItemList - A zero terminated item list.  Each item is of the form:

    63                           31                           0
    +---------------------------------------------------------+
    |      Buffer Length         |         Item Code          |
    +---------------------------------------------------------+
    |                    Buffer Address                       |
    +---------------------------------------------------------+
    |                Return Length Address                    |
    +---------------------------------------------------------+

Incorrect values will result in halts, bugchecks or other
undesirable side effects.

 From $STENVDEF...
literal STENV$K_AUTO_ACTION = 1;
     valid is "BOOT", "HALT" or "RESTART"
literal STENV$K_BOOT_DEV = 2;
literal STENV$K_BOOTDEF_DEV = 3;
literal STENV$K_BOOTED_DEV = 4;
literal STENV$K_BOOT_FILE = 5;
literal STENV$K_BOOTED_FILE = 6;
literal STENV$K_BOOT_OSFLAGS = 7;
literal STENV$K_BOOTED_OSFLAGS = 8;
literal STENV$K_BOOT_RESET = 9;
     valid is "ON" or "OFF"
literal STENV$K_DUMP_DEV = 10;
literal STENV$K_ENABLE_AUDIT = 11;
     valid is "ON" or "OFF"
literal STENV$K_LICENSE = 12;
literal STENV$K_CHAR_SET = 13;
     The CHAR_SET environment variable can only be set to 0
     (as per Alpha SRM)
literal STENV$K_LANGUAGE = 14;
     See console chapter of Alpha SRM for a list of supported
     languages
literal STENV$K_TTY_DEV = 15;
literal STENV$K_SYSROOT = 16;
literal STENV$K_BTFLAGS = 17;
literal STENV$K_FRU_EEROM = 18;

Use at your own risk.

Regards,
Dave
-- 
David B Sneddon (dbs) VMS Systems Programmer dbsneddon@bigpond.com
Sneddo's quick guide ...   http://www.users.bigpond.com/dbsneddon/
DBS freeware   http://www.users.bigpond.com/dbsneddon/software.htm
0
Reply dbsneddon (284) 5/9/2005 7:51:22 AM

3 Replies
52 Views

(page loaded in 0.688 seconds)

Similiar Articles:













7/22/2012 7:54:25 AM


Reply: