Add a Copy Statement to a Process
About this task
Use the Copy statement to create a new file or append data to an existing file. To use the Copy statement in a Process, identify the PNODE and the SNODE. Identify the source file and, if symbolic variables are used, assign values to the variables or specify built-in variables before the Process is submitted.
Connect:Direct® for Microsoft
Windows supports the string (*) and character (?) wildcards, allowing
you to copy multiple files from a source directory to a target directory
with a single copy statement.
Note: The list of files to be copied
is generated at the start of a wildcard copy. When a Process restarts,
in a wildcard copy statement, the step restarts with the first file
that is not completely copied. If you are using checkpointing, the
statement restarts at the last checkpoint of the file that is not
completely copied.