tcl.pxpw

Subroutine/System Architecture, Releases: AP/Unix

File mirroring across network.

Description

called through a 'callx' statement, allows mirroring files across a network. The 'structure' attribute in the file-defining item (or 'd-pointer') specifies the location of the remote file.

All updates and, optionally, deletes are propagated to the shadow, or mirrored, file.

Options are specified in the fourth value of the attribute 'structure' (see example below):

Options

a Requests acknowledgment.

n Does not allow deletes on the remote file.

v Verbose.

Example

To mirror the file 'tmp' on the host 'dev1', in the account
'pxp', into a file 'tmp.shadow', change the local
'd-pointer' in the master file 'tmp' as follows
('<--' shows the changes):

Dictionary code D
base 19732
modulo 3
structure dev1 <-- Distant host name
pxp <-- account
tmp.shadow <-- file name on remote host
a <-- Options: A=request ACK
retrieval-lock
update-lock
output-conversion
correlative callx pxpw <-- CALLX to file time subroutine
attribute-type L
column-width 10

See Also

Command Name Type Description
tcl.pxpcmd Verb: Access Sends command to PXP server.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.