UM-0085-B09
DT80 Range User Manual
Page 109
RG
COPYD Option Summary
The following table summarises the available
COPYD
options:
Option
Value
Description
Default Value
Store selection options
job=
jobname
Unload specified job only
(none)
*
Unload all jobs
(none)
Unload current job only
sched=
schedule-list
Unload specified schedules only
XABCDEFGHIJK
data=
Y
/
N
Unload data (yes/no)
Y
alarms= Y
/
N
Unload alarms (yes/no)
Y
live=
Y
/
N
Unload from live stores (yes/no)
Y
archive= Y
/
N
Unload from archive stores (yes/no)
N
src=
drive-list
Search for store files on specified drives only
ABD
path=
folder-path
\
Search for store files in specified folder or sub-folders only
(none)
file-path
Unload from specified store file only
(none)
Search path based on
src
,
job
and
sched
options
Data Range options
start=
yyyy
-
mm
-
dd
T
hh
:
mm
:
ss
.
tt
Unload records later than or equal to specified timestamp.
Date/time components may be omitted, starting with least
significant.
start with oldest
logged record
-
dd
T
hh
:
mm
:
ss
.
tt
timestamp is specified time,
dd
days ago
-
hh
:
mm
:
ss
.
tt
timestamp is current time, minus the specified offset, rounded down
to the smallest specified time component
m
CVT
hh
:
mm
:
ss
.
tt
date part of timestamp is
m
CV value (seconds since 1-Jan-1989)
yyyy
-
mm
-
dd
T
n
CV
time part of timestamp is
n
CV value (seconds since midnight)
m
CVT
n
CV
date and time parts of timestamp given by
m
CV and
n
CV
new
Unload new records logged since the last unload of this store with
the same
id
value
new2
Unload new records logged since the second-last unload
(excluding
start=new2
unloads) of this store with the same
id
value
end=
as for
start=
,
except
new
,
new2
Unload records earlier than specified timestamp
end with latest logged
record
id=
integer
Arbitrary user identifier for tracking last unload time
0
step=
number
Minimum time interval between successive unloaded records (0 =
unload all records)
0
Output Format options
format= csv
,
dbd
,
fixed
,
free
Unload data in the specified format
csv
merge=
Y
/
N
Generate a single merged output file (yes/no)
Y
Unload Destination options
dest=
stream
Unload to active comms port (CSV/ fixed/ free format only)
(requires
merge=Y
)
stream
(CSV/fixed/free), or
B:
(DBD)
B:
Unload to
B:\JOBS
and/or subfolders
A:
Unload to
A:\Sn
serial-num
\JOBS
and/or subfolders
path
\
Unload to
path
and/or subfolders
path
\
filename
Unload to file
filename
ftp://
user
:
pwd
@
ip
/
path
/
Unload to
path
on FTP server (autogenerated filename)
Can include
priority=
and
interface=
URI options
ftp://
user
:
pwd
@
ip
/
path
/
filename
Unload to file
filename
on FTP server
Can include
priority=
and
interface=
URI options
mailto:
email-addr
Unload to file and attach to email (autogenerated filename)
Can include
priority=
,
subject=
,
body=
and
interface=
URI options
Other options
delete= Y
/
N
Delete records from source files after successful unload
N