Previous Topic Next topic Print topic


Substituting Data Set Names in the Import Destination

You can use an asterisk in the import location (specified after the IMPORT keyword) to avoid having to manually specify the data set name as part of the target path.

Using an asterisk in the destination path causes the asterisk to be replaced by the data set name.

Example - QSAM:

MFDAS IMPORT c:\data\* FROM AUTO mfi01.test.data /CATLOC=c:\proj\catalog.dat

Executing this command results in the following file being imported:

Example - PDS:

MFDAS IMPORT c:\data\* FROM AUTO mfi01.test.cobol /CATLOC=c:\proj\catalog.dat

Executing this command results in the following files being imported:

Previous Topic Next topic Print topic