GET - access and place a file or files in the AFT.

Syntax:

get pathname [pathname ...]

Examples:

get myfile
get /myfile fbaggins/hisfile"x",r
get rjb/thefile"05" /myfile /another"06"

Description:

GET is used to place one or more files in the AFT. The pathname specified can be anything from the name of a "quick-access" file to a full-blown catalog/file description followed by an altname in quotes and/or the access permission(s) requested, delimited by a comma.

If you access a file under an altname, all further references to the file while it is in the AFT must use the altname. If you try to use its real name, you will invariably get a file busy status returned.

If you do not specify a permission, GET will always try to get read/write permission, which means it will usually fail with a nasty message if you try to get someone else's file.

The following permissions are the most useful:

,e    - execute permission
,r    - read-only permission
,w    - read and write permission

AFT stands for Available File Table, a table that contains a list of all the files open under your userid. This table may be inspected with the AFT command. A linked file can be accessed in random mode by specifying ",mode/random/" or ",m/r/" following the file description.

Copyright © 1996, Thinkage Ltd.