Supported Wildcard Characters
Directory transfers support local file name and remote file name wildcard characters.
Examples
Example 1: sending data sets to another z/OS system
In this example, the following files are defined to the z/OS system:
TEST.DATA.ACCT1
TEST.DATA.ACCT2008
TEST.DATA.ACCTPDS (contains members A, B, and C)
Specify the following parameters on a send file request:
LFILE=TEST.DATA.*
RFILE=/tmp/data/
SUBDIR=YES
Five file transfer requests will be queued with the following local and remote files:
LF=TEST.DATA.ACCT1 RF=/tmp/data/ACCT1
LF=TEST.DATA.ACCT2008 RF=/tmp/data/ACCT2008
LF=TEST.DATA.ACCTPDS(A) RF=/tmp/data/ACCTPDS.A
LF=TEST.DATA.ACCTPDS(B) RF=/tmp/data/ACCTPDS.B
LF=TEST.DATA.ACCTPDS(C) RF=/tmp/data/ACCTPDS.C
Example 2: sending UNIX files to remote UNIX system
In this example, the following files are defined to the z/OS system:
/test/data/acct1
/test/data/acct2004
/test/data/acctpds/a
/test/data/acctpds/b
/test/data/acctpds/c
Specify the following parameters on a send file request:
LFILE=/test/data/*
RFILE=/tmp/data/
SUBDIR=NO.
Two file transfer requests will be queued with the following local and remote files:
LF=/test/data/acct1 RF=/tmp/data/acct1
LF=/test/data/acct2008 RF=/tmp/data/acct2008
Example 3: sending PDS members to remote UNIX system
In this example, the following members are in a PDS or PDSE file:
TEST.PDS(A1)
TEST.PDS(A2)
TEST.PDS(ABCD)
TEST.PDS(B1)
TEST.PDS(B2)
TEST.PDS(BCDE)
Specify the following parameters on a send file request:
LFILE=TEST.PDS(A*)
RFILE=/tmp/data/
SUBDIR=NO
Three file transfer requests will be queued with the following local and remote files:
LF=TEST.PDS(A1) RF=/tmp/data/A1
LF=TEST.PDS(A2) RF=/tmp/data/A2
LF=TEST.PDS(ABCD) RF=/tmp/data/ABCD
Example 4: receiving files from remote UNIX system
In this example, the following files are in the remote UNIX system:
/tmp/data/acct1
/tmp/data/acct2007
/tmp/data/acct2008
/tmp/data/acct2009
/tmp/data/auditing/abc
/tmp/data/auditing/def
Specify the following parameters on a receive file request:
LFILE=TEST.PDS( )
RFILE=/tmp/data/*
SUBDIR=NO
Four file transfer requests will be queued with the following local and remote files:
LF=TEST.PDS(ACCT1) RF=/tmp/data/acct1
LF=TEST.PDS(ACCT2007) RF=/tmp/data/acct2007
LF=TEST.PDS(ACCT2008) RF=/tmp/data/acct2008
LF=TEST.PDS(ACCT2009) RF=/tmp/data/acct2009