Previous Topic: LCLNTFYL

Next Topic: LFILEDATA


LFILE

Identifies the local data set involved in a file transfer.

1 to 54 characters (for a non-USS file)

Specifies the non-USS local data set involved in a file transfer. This can be the name of a file copied to a remote system or the file name of a data set received from a remote system. Alternatively, the local data set name can be specified using the LCLDS01 DD statement. If both are specified, the data set defined by LFILE takes precedence.

Specifies up to 54 characters consisting of the following:

Note: A wildcard character (*) can be used if transferring between IBM mainframe systems.

Notes:

1 to 255 characters (for a USS file)

Specifies the USS local data set involved in a file transfer. This can be the name of a file copied to a remote system or the file name of a data set received from a remote system. Alternatively, the local data set name can be specified using the LCLDS01 DD statement. If both are specified, the data set defined by LFILE takes precedence.

Specifies up to 255 characters consisting of the following:

Notes:

USS Examples

LFILE=/u/users/xcom/*

Transfer ALL files.

LFILE=/u/users/xcom/m*

Transfer ALL files starting with an m.

LFILE=/u/users/xcom/*m

Transfer ALL files ending with an m.

LFILE=/u/users/xcom/m*m

Transfer ALL files starting with an m and ending with an m.

LFILE=/u/users/xcom/m*y*m

Transfer ALL files starting with an m, ending with an m and containing a y.

LFILE=/u/users/xcom/m*you*

Transfer ALL files starting with an m and containing the characters you in succession.

LFILE=/u/users/xcom/m*y*o*u*

Transfer ALL files starting with an m and containing the characters y and o and u (in order, but not in succession).

Note: You can use symbolic variables with this parameter in batch SYSIN01. For more information, see Symbolic Parameters.