file(fn:z,f)

Read(509) Label: cluster, homo-name files group,

Description:

Generate a new cluster homo-name files group with same distribution as an existing homo-name files group.

Syntax:

file(fn:z,f)

Note:

The function generates a new cluster homo-name files group fn using the distribution style of homo-name files group f. Parameter z is zone table number, and, when it is absent, the function use the zone table number(s) in f.

Parameter:

fn

A would-be cluster homo-name files group

z

Zone table number, which is an integer or an integer sequence

f

A cluster homo-name files group

Return value:

A cluster homo-name files group

Example:

 

A

 

1

=["192.168.126.1:8281","192.168.31.165:8281"]

A sequence of nodes.

2

=file("emCp.ctx":[2,3],A1)

Return a homo-name files group.

3

=file("embak.ctx",A2)

Generate a cluster homo-name files group having the same distribution type as A2’s; as parameter z is absent, use the corresponding value in A2, that is, [2,3].