Versions Compared

Key

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

...

The following figure illustrates the syntax — using the STRUCP parameter form of command line options — of Universal Copy for IBM i.

<pre>
STRUCP
[
FRMFILE
([{*
<b>lib</b>
lib|*
<b>curlib</b>
curlib|
<b>library
library 
name</b>
name}/] {*
<b>stdin</b>|<b>filename</b>
stdin|filename}) [
FRMMBR
({*
<b>first</b>
first|*
<b>all</b>
all|
<b>member
member 
name</b>
name})]
[
FRMFILES
( ([{*
<b>lib</b>
lib|*
<b>curlib</b>
curlib|
<b>library
library 
name</b>
name}/] 
<i>file</i>
file [*
<b>first</b>
first|*
<b>all</b>
all}])...)] ]
[
TOFILE
( [{*
<b>lib</b>
lib|*
<b>curlib</b>
curlib|
<b>library
library 
name</b>
name}/] {*
<b>stdout</b>|<b>filename</b>
stdout|filename}) [
TOMBR
(<i>member</i>
(member)] ]
[
CPYMODE
(*
<b>binary</b>
binary|*
<b>text</b>
text|*
<b>savf</b>
savf)]

Additional Options
[
REPLACE
(*
<b>yes</b>
yes|*
<b>no</b>
no)]
[
INPUTMODE
('
<i>option</i>
option')]								Note: Overrides CPYMODE for input files.
[
OUTPUTMODE
('
<i>option</i>
option')]								Note: Overrides CPYMODE for output files.
[
MSGLEVEL
(*
<b>trace</b>
trace|*
<b>audit</b>
audit|*
<b>info</b>
info|*
<b>warn</b>
warn|*
<b>error</b>
error)]

STRUCP
VERSION
(<b>yes</b>|<b>no</b>) </pre>
(yes|no)
Panel
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift
Html bobswift


Warning
titleWarning

Under IBM i, the STRUCP default mode (CPYMODE) is text. For all other platforms, the default is binary.

...