Page 1 of 1

Funny message within "orchadmin -help"

Posted: Thu May 25, 2006 4:03 am
by benny.lbs
seems so funny.... never seen in other software...... @_@""

orchadmin -help

:
COMMAND: copy | cp source-descriptor-file target-descriptor-file

Copy the schema, contents and preserve-partitioning flag of the
specified ORCHESTRATE file dataset. If the preserve-partitioning
flag is set, the copy will have the same number of partitions and
record order as the original. If the target file already exists,
it will be truncated first. If the preserve-partitioning flag of
the source file is set and the target file already exists, it must
have the same number of partitions as the source file.

The copy command has no options. A warning message is issued if
the target does not already exist. This is a bug, not a feature.

Posted: Thu May 25, 2006 5:05 am
by kumar_s
So genuine to pose even the bug in the description. :wink:

Posted: Thu May 25, 2006 3:21 pm
by ray.wurlod
It also raises the interesting question how to create a new copy of a Data Set using the orchadmin utility, if you can't use copy unless the target already exists. So it was worth noting this bug, so that users don't get frustrated when it doesn't work.