Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-vax From: info-vax@ucbvax.ARPA Newsgroups: fa.info-vax Subject: VMS V4.0 gotcha Message-ID: <5386@ucbvax.ARPA> Date: Sat, 9-Mar-85 10:07:12 EST Article-I.D.: ucbvax.5386 Posted: Sat Mar 9 10:07:12 1985 Date-Received: Sun, 10-Mar-85 06:32:38 EST Sender: daemon@ucbvax.ARPA Organization: University of California at Berkeley Lines: 50 From: Richard Garland'nother gotcha: Changing UIC via the command "SET UIC [m,n]" no longer provides access to the group logical names of group n. Example: In our SYSTARTUP file, in V3.x we use to set up a bunch of group logical names for several groups with code like the following: . . $ SET UIC [100,0] $ DEFINE/GROUP FOO BAR $ DEFINE/GROUP ASH CAN $ SET UIC [170,0] $ DEFINE/GROUP TWEEDLE DEE $ DEFINE/GROUP DUMDEE DUMDUM . . $ SET UIC [1,4] . (rest of SYSTARTUP.COM) Then these various logical names would be available to members of these groups. Under VMS V4.0, these logical names are all put into the group logical name table for [1,4] - i.e. the "SET UIC" command no longer switches group logical name tables. This apparently has to do with the new complicated logical name structure and I don't know whether to call this a feature or a bug. Workaround: Another V4.0 feature provides a workaround - the SUBMIT command has a "/USERNAME" qualifier allowing a privileged user to submit a batch job on behalf of another user. So to set up the group names desired you must: 1) have a user in the appropriate group with GRPNAM privilege (say a user called GROUPGURU). 2) create a command file with the various /GROUP assignments for that group (say GROUPNAMES.COM). 3) Submit the file as a batch job on behalf of the user: $ SUBMIT/USERNAME=GROUPGURU GROUPNAMES This submit command replaces the other lines in SYSTARTUP.COM (don't forget to start the batch queues first). It works. The diagnosis and workaround were provided by Carl Friedberg (Seaport Systems) who recalls picking it up in a VMS V4.0 seminar sometime ago. Rg -------