SDEC RESGRPUS (3493)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC RESGRPUS
TAG RESGRPUS
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Returns ADO Recordset with all ACTIVE resource group names to which user 
has access
based on entries in SDEC RESOURCE USER file
If SDECDUZ=0 then returns all department names for current DUZ
If user SDECDUZ possesses the key SDECZMGR
then ALL resource group names are returned regardless of whether any 
active resources
are associated with the group or not.
INPUT PARAMETER
  • SDECDUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User ID pointer to NEW PERSON file 200
    
RETURN PARAMETER DESCRIPTION
Returns a Global Array in which each array entry contains Resource Group 
ID and name separated by ^:
 1. RESOURCE_GROUPID
 2. RESOURCE_GROUP