NEWLINK

The following examples demonstrate the beha vior of this command.

In the following examples the notation "--->" means "which points to".

Part 1: Absolute symbolic links

:NEWLINK LINK=FILE3.PUB.ACCT1; TO=SOURCE1.CODE.SOFTWARE

Creates FILE3 ---> SOURCE1.CODE.SOFTWARE as a link to a nonexisting file. Note that it is allowed to create links to objects that do not yet exist

:NEWLINK LINK=FILE4.PUB.ACCT1; TO=/SOFTWARE/CODE/dir2/f1 Creates FILE4 ---> /SOFTWARE/CODE/dir2/f1 as a link to a file

:NEWLINK LINK=/ACCT1/PUB/softPUB; TO=/SOFTWARE/PUB

Creates /ACCT1/PUB/softPUB ---> /SOFTWARE/PUB as a link to group PUB in SOFTWARE account

:NEWLINK LINK=FILE9.PUB.ACCT1; TO=/ Creates FILE9 ---> / as a link to the root

Part 2: Relative symbolic links

For these examples assume that CWD=/SOFTWARE/CODE/dir2

:NEWLINK LINK=../F1; TO=./f1

Creates /SOFTWARE/CODE/F1 ---> ./f1 as a link to a file

:NEWLINK LINK=F2.CODE; TO=./f2

Creates /SOFTWARE/CODE/F2 ---> ./f2 as a link to a file

:NEWLINK LINK=./dir; TO=../../../dir

Creates /SOFTWARE/CODE/dir2/dir ---> ../../../dir as a link to a directory

:NEWLINK LINK=FILE1.PUB.ACCT1; TO=/dir/f1 Duplicate name in directory. (CIERR 906)

Assume CWD=/SOFTWARE/CODE/dir2. :NEWLINK LINK=../TERMIO; TO=./f1 Duplicate name in directory. (CIERR 906)

2-168 MPE/iX Commands