Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Mainframe Enablers TimeFinder SnapVX and zDP 8.5 Product Guide

PDF

Referencing other groups from within a group

You can use %INCLUDE in a group definition to reference other groups in that definition. The %INCLUDE causes the indicated group to be brought in to replace the actual %INCLUDE statement. Nesting is allowed, but recursion is not.

The syntax for %INCLUDE is:

%INCLUDE GROUP(grpname)

Where grpname is the name of the group.

The group status is handled the same way as when the group is coded on the user commands. All group initial statuses must be correct and all group statuses are updated after the contents are processed.

NOTE:You cannot reference a group that is defined or deleted in the current job step because a group reference is expanded at parse time, but the DEFINE GROUP (or DELETE GROUP) is performed at processing time. The group reference gets the contents of the group at the beginning of the step, before the DEFINE GROUP or DELETE GROUP is processed. Separate the DEFINE GROUP or DELETE GROUP into a different job step to ensure that the required group contents are used by the group reference.

The following example shows how you can nest multiple group definitions:

DEFINE GROUP A
 %INCLUDE GROUP(B)
 %INCLUDE GROUP(C)
.
.
.
END GROUP
DEFINE GROUP B
. 
. 
.
%INCLUDE GROUP(D)
. . .
END GROUP
DEFINE GROUP C
. 
. 
.
END GROUP
DEFINE GROUP D
. 
.
.
END GROUP

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\