Previous Topic: SyntaxNext Topic: NEWRID


Parameters

NEWMEMBER supports the following parameters:

member

The new PDS member's name.

pattern

The new PDS members' name pattern. Use this when copying more than one PDS member.

% — Use a percent sign to retain the old name's character found at the percent sign's location, in the new member 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)