Copy, Copy 6-22 – HP NonStop G-Series User Manual
Page 86
![background image](/manuals/396738/86/background.png)
SDR Commands
HP NonStop SQL DDL Replicator User’s Guide —545799-005
6-22
COPY
COPY
Similar to the FUP COPY command with enhancements. Copies records from an input
file to an output file.
COPY in-file, out-file [, copy-options ]
copy-options is:
{ control-options
}
{ in-options
}
{ out-options
}
{ display-options
}
control-options is:
{ COUNT num-records
}
{
}
{ FIRST { ordinal-record-num |
}
{ { KEY {record-spec|key-value [, key-value]}|
}
{ { key-spec ALTKEY key-value [, key-value ] }
}
{
}
{ FROMLAST
}
{
}
{ UPSHIFT
}
in-options is:
{ BLOCKIN n
}
{
}
{ COMPACT | NO COMPACT
}
{
}
{ COMP[ARELEN] n
}
{
}
{ EBCDICIN
}
{
}
{ EXACT
}
{
}
{ RECIN n
}
{
}
{ REVERSE
}
{
}
{ REWINDIN | NO REWINDIN
}
{
}
{ SKIPMATCH
}
{
}
{ TRIM trim-character
}
{
}
{ UNLOADIN | NO UNLOADIN
}
{
}
{ UNSTRUCTURED
}
{
}
{ VARIN
...more