The GROUP parameter specifies the security group under which a job will run. This parameter allows jobs to execute with the security privileges associated with a specified group, which may provide access to resources not available to the user's default group. The GROUP parameter is typically used in conjunction with the USER parameter when a user needs to run a job with group-specific permissions.
1//jobname JOB parameters,GROUP=groupname
1//jobname JOB parameters,USER=userid,PASSWORD=password,GROUP=groupname
Important:
The GROUP parameter is only meaningful if the specified user is connected to multiple groups in the security system. If the user belongs to only one group, that group is always used regardless of the GROUP parameter.
12//PAYROLL JOB (ACCT#),'JOHN DOE', // USER=PAYUSR01,PASSWORD=SECRET42,GROUP=PAYROLL
This job will run under the user ID PAYUSR01 with the PAYROLL group for resource access permissions.
123//REPORT JOB (ACCT#),'JOHN DOE',CLASS=A, // USER=REPTUSR,PASSWORD=PASS123, // GROUP=FINANCE,SECLABEL=CONFID
This job will run under the user ID REPTUSR with the FINANCE group and the security label CONFID.
In mainframe security systems, group membership plays a key role in access control:
In RACF, groups have a hierarchical structure:
Security Product | Implementation |
---|---|
RACF |
|
ACF2 |
|
Top Secret |
|
For the GROUP parameter to work:
Issue | Possible Solution |
---|---|
GROUP parameter ignored | Verify the user is connected to the specified group; check security system configurations |
Access denied despite GROUP | Ensure the group has proper access to required resources; check resource access control lists |
GROUP not recognized | Verify the group name is correct and exists in the security system |
Inconsistent behavior | Check for differences in group structure or connections across environments |
You may encounter these security-related messages:
ICH408I USER(userid) ... NOT AUTHORIZED TO GROUP(groupname)
- User not connected to specified groupICH408I USER(userid) ... INSUFFICIENT ACCESS AUTHORITY
- Group lacks necessary permissionsThe GROUP parameter behavior is consistent across JES2 and JES3 environments: