Function to get group identity
The GETGID() function returns the group number of the user. In UNIX/Linux, this is the group number of the logged in user from the /etc/passwd file. In OpenVMS, this is the group number extracted from the UIC of the logged in user from the system authorization file.
The GETGID() function returns a decimal value. OpenVMS group user IDs are stored in octal, however you may use the STR() function to convert the decimal value to octal.
use accounts @2,3 get name @3,3 get rates; when getgid() > 100 and getgid() < 200 read
Recital Server, Recital