Previous Topic: SyntaxNext Topic: NEWRID


Parameters

NEWMEMBER supports the following parameters:

member

Specifies the name of the new PDS member.

pattern

Specifies a pattern. Member names that match this pattern are used when copying more than one PDS member. You can use a percent sign to retain in the new member name the character found at the percent sign's location in the old name.

Example 1

This example overwrites CAWA with RRMX, for all member names that begin with CAWA.

COPY,
  MEMBER(CAWA*),
  NEWMEMBER(RRMX%%%%)

Example 2

This example appends RRM to all member names beginning with A and which have only five characters in their name.

COPY,
  MEMBER(A%%%%),
  NEWMEMBER(%%%%%RRM)