AutoSYNC Software User's Guide (Update 17)

Command Interpreter
HP AutoSYNC User’s Guide522580-018
8-55
CALC
AUTHORIZE can also designate the AutoSYNC administrator user ID, who can
manage sync users without the need to have access to sensitive data controlled by the
sync users.
ADMINistrator user-id
the user who is the AutoSYNC administrator. The administrator is the user who
configures syncusers and controls who is authorized to schedule automatic file-set
synchronization.
If this option is omitted, the AutoSYNC administrator is the current user ID.
The AUTHORIZE command sets the ownership and the PROGID attribute of the
ASYSYNCP program. When a scheduled synchronization is performed, the
ASYSYNCP process changes its access ID to the user ID who configured the
synchronization. This operation succeeds only if the authorizer is (1) the Super ID, (2)
the user’s group manager, or (3) the user itself; otherwise the synchronization is
aborted.
The ownership of the SYNCUSER table is set to the authorizer or, if specified, to the
administrator. This command also sets the write and purge security of the SYNCUSER
table to the owner (“xOxO”). Adding and deleting AutoSYNC users is thereby restricted
to the AutoSYNC administrator.
CALC
A 4-function calculator to perform addition, subtraction, multiplication, division.
Parentheses are supported; multiplication and division have precedence over addition
and subtraction. CALC numeric operands are assumed to be decimal unless preceded
by %, %h, or %b. An expression comprised of simple integers is performed using
integer arithmetic. If any operand contains a decimal point, the expression is evaluated
to four decimal places of accuracy.
constant
AUTHORIZE AUTOSYNC [, ADMINistrator user-id ];
CALC expression;
expression is
{ constant }
{ expression op const }
{ ( expression ) }
op is
{ + | | * | / }