:FILE X=AL126797

:FILE PAYROLL=SELFL

A ￿le name must be unique in its group. A reference to a ￿le is alwa ys quali￿ed by adding to the ￿le name the name of the group and accoun t in which the ￿le resides. For example, if y ou create a ￿le named FILX under GROUPA and ACCOUNT1 , the system will recognize y our ￿le as FILX.GROUPA.ACCOUNT1 . A ￿le with the same ￿le name created under a

GROUPB is recognized as FILX.GROUPB.ACCOUNT1 . Thus, you need only to ensure that a ￿le name is unique in its group.

Groups serve as the basis for y our local ￿le references. When y ou log on, if the default File System ￿le securit y provisions are in e￿ect, y ou have unlimited access to all ￿les assigned to your logon group and y our home group. You are permitted to read and execute programs residing in the public group of y our log on accoun t. This group, alw ays named PUB, is automatically created under ev ery account to serve as a common ￿le base for all users of the account. You can also read and execute programs residing in the PUB group of the System Account. This special accoun t, always named SYS, is available to all users on ev ery system.

You can refer to ￿les that belong to di￿eren t logon accounts and groups by specifying qualifying information in the optional parameters of the standard ￿le reference format. F or detailed information, refer to Accessing Files Pr ogrammer's Guide (32650-90017).

If you do not supply explicit group and accoun t name information in a standard ￿le reference format, MPE/iX supplies the defaults of the group and accoun t in which you are currently logged on.

When you create a disc ￿le, y ou can assign to it a loc kword. It must later be supplied in the standard ￿le reference format to access the ￿le in an y way. The lockword is independent of, and serves in addition to, the other File System securit y provisions governing the ￿le.

You assign a lockword to a new ￿le b y specifying it in the ￿lereference parameter of the :BUILD command or in the formalreference parameter of the HPFOPEN or FOPEN intrinsic used to create the ￿le.

For detailed information on using loc kwords and supplying loc kwords in jobs and sessions, refer to Accessing Files Pr ogrammer's Guide (32650-90017).

System FilesSystem-de￿ned ￿les are:

$STDIN

$STDINX $STDLIST $NEWPASS $OLDPASS $NULL

$NEWPASS and $OLDPASS are disc ￿les that pro vide temporary ￿les for passing information between job steps. $STDIN , $STDINX , and $STDLIST are device ￿les that pro vide default input and output ￿les. The system-de￿ned ￿le $NULL is in neither category because it is not associated with a disc or device. Figure 6-6 sho ws system-de￿ned ￿les in use.

6-12 File System