Generic and Wildcard Characters for Members

The generic and wildcard support for members must conform to the following rules:

  • The asterisk (*) denotes a generic member.
  • If a PDS is specified without a member name, all members are sent.
  • FILE=MY.PDS is the same as MY.PDS(*).
  • Question mark (?) is the wildcard character. It can be used with characters of a member and with the generic character (*).

Examples

The following examples are samples of generic and wildcard support.

Example 1:

FILE=MY.PDS(abc*)
REMOTE_FILE=YOUR.PDS(WXYZ*)

All files starting with ABC are sent to the remote system. When the files are written, the first 4 characters are replaced by WXYZ.

Example 2:

FILE=MY.PDS(???TEST?)
REMOTE_FILE=YOUR.PDS		

Members in which characters 4 - 7 are TEST are sent. The member names on the remote system are the same as on the local system.