DATASET statements


The DATASET statement is used to define data set groups in a partition. Up to 10 data set groups can be defined per partition. Since the PART is a data set group, there can be up to nine DATASET statements—one for each data set group.

Each partition data set group must have a unique ddname. The DD1=ddname Each partition data set group must have a unique ddname. There is a single DATASET statement for each data set group. To make the data set group DD1=ddname unique for each partition, the '#' character is used to replace the '#' character with the character in the same position in the PART ddname. There can be multiple '#' characters, and they can be in any position in the ddname.

For example, if the naming convention for the PART ddnames is to have a unique two-byte partition number in the last two characters, then DATASET DD1=DSG1DD## will use the last two characters in the PART ddname to make the data set group ddname unique for each partition. Or if the fifth character in the PART ddname had a unique letter for each partition, then DATASET DD1=DSG1#DD would replace the # with the partition letter for each partition.

If there is not a '#' character in the data set group ddname, then the left-justified numeric partition number is appended to the ddname. The DATASET DD1=ddname must be short enough for the partition number to be appended without increasing the length beyond 8-bytes.

The name of the partition data set group is null (blanks). Use a DATASET statement with a blank label to assign segments to the partition data set group. For example, after assigning a segment to a secondary data set group, a DATASET statement without a label will assign the segments that follow to the primary data set group.

For an example of a DBD that uses data set groups, see “Example-DBDs”.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Partitioned Database Facility for IMS 9.1.00