Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
1045976
1045976
This example copies a mix of files (Save and Physical) from an IBM i system in a single operation, using the forfiles statement  statement and the $(_file.type) variable attribute.

Anchor
1049819
1049819
LIB File System

Panel
forfiles

if

copy

else

copy
 src=MYLIB/*
if $(_file.type) EQ directory
copy src=$(_path)\(*)
elsecopy src=$(_path)
end
end

Anchor
1049187
1049187
Components

...